On 09/01/12 10:40, Andreas Schwab wrote:
> Alan Hourihane <[email protected]> writes:
>
>> *** FORMAT ERROR ***   FORMAT=0
>> Current process id is 768
>> BAD KERNEL TRAP: 00000000
>> Modules linked in:
>> PC: [<000029de>] flush_thread+0x8/0xe
> void flush_thread(void)
> {
>       unsigned long zero = 0;
>
>       current->thread.fs = __USER_DS;
>       if (!FPU_IS_EMU)
>               asm volatile (".chip 68k/68881\n\t"
>                             "frestore %0@\n\t"
>                             ".chip 68k" : : "a" (&zero));
> }
>
> GCC is optimizing away the initialisation of zero, since nothing visible
> is using its value.

Great spot!

Seems this also needs massaging into process_no.c too.

But am I at a shell prompt :-)

Alan.
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to