Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Adrian Bunk
On Tue, Jan 15, 2008 at 12:35:15PM -0800, Andrew Morton wrote: > On Tue, 15 Jan 2008 14:36:24 +0100 Jesper Nilsson <[EMAIL PROTECTED]> wrote: > > > - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. > > The reservation up to page size of memory after init data was

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Andrew Morton
On Tue, 15 Jan 2008 14:36:24 +0100 Jesper Nilsson <[EMAIL PROTECTED]> wrote: > - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. > The reservation up to page size of memory after init data was previously > not done if BLK_DEV_INITRD was undefined. > This caused a

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Sam Ravnborg
> > What about applying the same fixes/changes to v32? > > In the works. > > > It would btw. be nice to move the vmlinux.lds.S files to > > arch/cris/kernel/. > > Se how x86 handle build for two different bit sizes. > > > > If this is done then cris is less awkward compared > > to the other

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
On Tue, Jan 15, 2008 at 02:54:19PM +0100, Sam Ravnborg wrote: > On Tue, Jan 15, 2008 at 02:36:24PM +0100, Jesper Nilsson wrote: > > - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. > > The reservation up to page size of memory after init data was previously > > not

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Sam Ravnborg
On Tue, Jan 15, 2008 at 02:36:24PM +0100, Jesper Nilsson wrote: > - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. > The reservation up to page size of memory after init data was previously > not done if BLK_DEV_INITRD was undefined. > This caused a kernel oops

[PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
- Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously not done if BLK_DEV_INITRD was undefined. This caused a kernel oops when init memory pages were freed after startup, data placed in the same

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Sam Ravnborg
On Tue, Jan 15, 2008 at 02:36:24PM +0100, Jesper Nilsson wrote: - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously not done if BLK_DEV_INITRD was undefined. This caused a kernel oops when

[PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
- Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously not done if BLK_DEV_INITRD was undefined. This caused a kernel oops when init memory pages were freed after startup, data placed in the same

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Jesper Nilsson
On Tue, Jan 15, 2008 at 02:54:19PM +0100, Sam Ravnborg wrote: On Tue, Jan 15, 2008 at 02:36:24PM +0100, Jesper Nilsson wrote: - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously not done if

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Sam Ravnborg
What about applying the same fixes/changes to v32? In the works. It would btw. be nice to move the vmlinux.lds.S files to arch/cris/kernel/. Se how x86 handle build for two different bit sizes. If this is done then cris is less awkward compared to the other archs. That's a

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Andrew Morton
On Tue, 15 Jan 2008 14:36:24 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously not done if BLK_DEV_INITRD was undefined. This caused a kernel

Re: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines

2008-01-15 Thread Adrian Bunk
On Tue, Jan 15, 2008 at 12:35:15PM -0800, Andrew Morton wrote: On Tue, 15 Jan 2008 14:36:24 +0100 Jesper Nilsson [EMAIL PROTECTED] wrote: - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously