lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] CRIS v10: vmlinux.lds.S Fix kernel oops on boot and use common defines
On Tue, 15 Jan 2008 14:36:24 +0100 Jesper Nilsson <jesper.nilsson@axis.com> 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 init memory pages were freed after startup,
> data placed in the same page as the last init memory would also be freed
> and reused, with disastrous results.

So this is a 2.6.24 thing?

> - Use macros for initcalls and .text sections.
>
> - Replace hardcoded page size constant with PAGE_SIZE define.
>
> - Change include/asm-cris/page.h to use the _AC macro to instead
> of testing __ASSEMBLY__.

Even though those are not.


\
 
 \ /
  Last update: 2008-01-15 21:39    [W:0.045 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site