In file included from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/_kuname.c:24:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
In file included from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/archinclude.h:34,
from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/_fault.c:17:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
In file included from include/asm/mmu_context.h:6,
from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/archinclude.h:47,
from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/_fault.c:17:
include/asm-ppc/mmu_context.h:51: warning: struct task_struct declared inside parameter list
include/asm-ppc/mmu_context.h:51: warning: its scope is only this definition or declaration, which is probably not what you want
include/asm-ppc/mmu_context.h:51: warning: struct mm_struct declared inside parameter list
include/asm-ppc/mmu_context.h:118: warning: struct mm_struct declared inside parameter list
include/asm-ppc/mmu_context.h: In function get_mmu_context:
include/asm-ppc/mmu_context.h:122: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:135: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h: At top level:
include/asm-ppc/mmu_context.h:144: warning: struct mm_struct declared inside parameter list
include/asm-ppc/mmu_context.h:144: warning: struct task_struct declared inside parameter list
include/asm-ppc/mmu_context.h: In function init_new_context:
include/asm-ppc/mmu_context.h:146: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:147: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h: At top level:
include/asm-ppc/mmu_context.h:154: warning: struct mm_struct declared inside parameter list
include/asm-ppc/mmu_context.h: In function destroy_context:
include/asm-ppc/mmu_context.h:156: error: implicit declaration of function preempt_disable
include/asm-ppc/mmu_context.h:157: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:158: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:159: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:164: error: implicit declaration of function preempt_enable
include/asm-ppc/mmu_context.h: At top level:
include/asm-ppc/mmu_context.h:168: warning: struct task_struct declared inside parameter list
include/asm-ppc/mmu_context.h:168: warning: struct mm_struct declared inside parameter list
include/asm-ppc/mmu_context.h: In function switch_mm:
include/asm-ppc/mmu_context.h:179: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:179: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:186: warning: passing argument 1 of get_mmu_context from incompatible pointer type
include/asm-ppc/mmu_context.h:187: error: dereferencing pointer to incomplete type
include/asm-ppc/mmu_context.h:187: error: dereferencing pointer to incomplete type
make[5]: *** [/usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/_fault.o] Error 1