Hi,

I am trying to compile a module for GEM5 for kernel 2.6.27. I am facing
problems due to missing file
include/asm/linkage.h

I realised that the asm-alpha directory is not present any more in the
include directory(kernel version 2.6.27) though it was present in 2.6.18. I
guess support for alpha has been removed. There are some header files
including linkage.h under arch/alpha/include/asm. I tried to copy these
over to include/asm-alpha directory. But then I get the following errors:
In file included from include/linux/bitops.h:17:0,
                 from include/linux/kernel.h:15,
                 from
/home/pritha/firewalls/firewall_kernel/bloomfilter.c:1:
include/asm/bitops.h: In function ‘ffz’:
include/asm/bitops.h:324:2: error: implicit declaration of function
‘__builtin_alpha_cmpbge’ [-Werror=implicit-function-declaration]
include/asm/bitops.h:326:2: error: implicit declaration of function
‘__builtin_alpha_extbl’ [-Werror=implicit-function-declaration]

Has anyone compiled a module for the linux kernel? Could someone give some
suggestions about what to do for kernel 2.6.27? Should I try to add the
files as they were in 2.6.18?

Thanks,
Pritha
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to