Re: [PATCH] Support for mach-xbox (updated)

Anders Gustafsson (andersg@0x63.nu)
Tue, 3 Jun 2003 15:05:16 +0200


On Tue, Jun 03, 2003 at 01:59:40PM +0100, Dave Jones wrote:
> Last 4 lines all use spaces instead of tabs.

darn.

> > targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o
> > +ifeq ($(CONFIG_X86_XBOX),y)
> > +#XXX Compiling with optimization makes 1.1-xboxen
> > +# crash while decompressing the kernel
> > +CFLAGS_misc.o := -O0
> > +endif
>
> curious. does it matter which version of gcc you used ?

Yes, only works with gcc3+

> this sounds like a band-aid for something else that needs fixing.

It sort of is (hence the XXX in the comment). But it's only when paging is
off. As soon as kernel is running everything is rock solid. It's probably
related to changed memoryaccess patterns.

-- 
Anders Gustafsson - andersg@0x63.nu - http://0x63.nu/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/