lkml.org 
[lkml]   [1999]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.3.22 CONFIG_BLK_DEV_INITRD/setup.c:622: `memory_end' undeclared
Someone may have responded to this, but I had the same problem.  Here's
how I fixed it:


diff -u --recursive linux-2.3.23/arch/i386/kernel/setup.c linux-2.3.23.bt/arch/i386/kernel/setup.c
--- linux-2.3.23/arch/i386/kernel/setup.c Sun Oct 17 17:18:18 1999
+++ linux-2.3.23.bt/arch/i386/kernel/setup.c Sun Oct 17 17:15:27 1999
@@ -619,10 +619,10 @@
if (LOADER_TYPE) {
initrd_start = INITRD_START ? INITRD_START + PAGE_OFFSET : 0;
initrd_end = initrd_start+INITRD_SIZE;
- if (initrd_end > memory_end) {
+ if (initrd_end > *memory_end_p) {
printk("initrd extends beyond end of memory "
"(0x%08lx > 0x%08lx)\ndisabling initrd\n",
- initrd_end,memory_end);
+ initrd_end, (unsigned long) memory_end_p);
initrd_start = 0;
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.029 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site