15 Apr 2004 10:39
Patches for x86-64
Alex Kiernan <alex.kiernan <at> thus.net>
2004-04-15 08:39:21 GMT
2004-04-15 08:39:21 GMT
I don't know if these are strictly correct (x86-64 kernel hacking is new territory for me), but they seem to work. I was actually working with the tux patch in the current FC-devel RPM, rather than the unbundled patch, but since this is all base kernel support, I expect that its the same for both. diff -ur kernel-2.6.5.redhat/linux-2.6.5/arch/x86_64/kernel/x8664_ksyms.c kernel-2.6.5/linux-2.6.5/arch/x86_64/kernel/x8664_ksyms.c --- kernel-2.6.5.redhat/linux-2.6.5/arch/x86_64/kernel/x8664_ksyms.c 2004-04-11 18:53:12.000000000 +0100 +++ kernel-2.6.5/linux-2.6.5/arch/x86_64/kernel/x8664_ksyms.c 2004-04-13 04:51:20.506994864 +0100 <at> <at> -30,6 +30,7 <at> <at> #include <asm/pgalloc.h> #include <asm/nmi.h> #include <asm/kdebug.h> +#define __KERNEL_SYSCALLS__ #include <asm/unistd.h> #include <asm/delay.h> #include <asm/tlbflush.h> <at> <at> -226,3 +227,8 <at> <at> EXPORT_SYMBOL(memcpy_toio); EXPORT_SYMBOL(memcpy_fromio); + +EXPORT_SYMBOL(execve); +EXPORT_SYMBOL(sys_write); +EXPORT_SYMBOL(sys_chroot); +EXPORT_SYMBOL(sys_chdir); diff -ur kernel-2.6.5.redhat/linux-2.6.5/include/asm-x86_64/unistd.h kernel-2.6.5/linux-2.6.5/include/asm-x86_64/unistd.h --- kernel-2.6.5.redhat/linux-2.6.5/include/asm-x86_64/unistd.h 2004-04-04 04:37:36.000000000 +0100(Continue reading)
RSS Feed