Red Hat Bugzilla – Bug 156830
building kernel is not successfull during linking stage
Last modified: 2007-11-30 17:07:17 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.6) Gecko/20050322 Firefox/1.0.2 Red Hat/1.0.2-1.4.1
Description of problem:
There is a little bug in kernel sources that prevents to build kernel successfully with enabling crash module ().
I test only i386 platform, but probably it exists on x86_64 and mips platforms because of identical definition of page_is_ram function.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. enable crash as module or built-in
2. run make
3. got error message
Actual Results: ...
drivers/built-in.o(.text+0x4cc4d): In function `crash_read':
include/asm/crash.h:42: undefined reference to `page_is_ram'
make: *** [.tmp_vmlinux1] Error 1
Expected Results: linking ok
I attached a little patch to fix this bug
Created attachment 114021 [details]
patch to fix definition of page_is_ram() function
*** This bug has been marked as a duplicate of 156827 ***