2.6.19-rc6-rt5
Subsystems (2)
HI!
rt4 runs fine. But while compiling 2.6.19-rc6-rt5 I get this error:
CC mm/page_alloc.omm/page_alloc.c: In function 'page_alloc_init':mm/page_alloc.c:2793: error: 'page_alloc_cpu_notify' undeclared (first use in this function) mm/page_alloc.c:2793: error: (Each undeclared identifier is reported only once mm/page_alloc.c:2793: error: for each function it appears in.)
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2
Regards,
Marcus
--
www.marcush.de
Am Dienstag, 21. November 2006 13:01 schrieb Marcus Hartig:
Quoted 4 lines
HI!
rt4 runs fine. But while compiling 2.6.19-rc6-rt5 I get this error:
Quoted 8 lines
CC
mm/page_alloc.omm/page_alloc.c: In function 'page_alloc_init':mm/page_alloc.c:2793: error: 'page_alloc_cpu_notify' undeclared (first use in this function)mm/page_alloc.c:2793: error: (Each undeclared identifier is reported only oncemm/page_alloc.c:2793: error: for each function it appears in.) make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2
Ingo posted a fix in another thread.
The (whitespace damaged, handapply!) excerpt of that fix below made i386 compile here.
Karsten
mm/page_alloc.c +0 -2
@@ -2768,7 +2768,6 @@ void __init free_area_init(unsigned long __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL); } -#ifdef CONFIG_HOTPLUG_CPU static int page_alloc_cpu_notify (struct notifier_block *self,unsigned long action,void *hcpu) {
@@ -2786,7 +2785,6 @@ static int page_alloc_cpu_notify(struct }return NOTIFY_OK ; } -#endif /* CONFIG_HOTPLUG_CPU */ void __init page_alloc_init (void ) {
-