Re: [uClinux-dev] [PATCH] m68k: always set stack frame format for ColdFire on thread start

Geert Uytterhoeven <[email protected]>
Newsgroups gmane.linux.ports.m68k,gmane.linux.uclinux.devel
Message-ID <CAMuHMdVH04ZG-1_fQe1kq4NzORjB042xnaZvKrw4NxhDP0qEBw@mail.gmail.com>
On Wed, Sep 12, 2012 at 7:13 AM,  <[email protected]> wrote:
> From: Greg Ungerer <[email protected]>
>
> The stack frame "format" field needs to be explicitly set on thread creation
> on ColdFire. For a normal long word aligned user stack pointer the frame
> format is 0x4.
>
> We were doing this for non-MMU ColdFire, but not for the case with MMU enabled.
> So fix it so we always do it if targeting ColdFire.
>
> The old code happend to rely on the stack frame format being inhereted from
> the process calling exec. Furture changes means that may not always work,
> so we really do want to set it explicitly.
>
> Signed-off-by: Greg Ungerer <[email protected]>

The classic-m68k changes look fine, so
Acked-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.