Re: x86: fix arch/x86/kernel/test_nx.c modular build bug
From: H. Peter Anvin
Date: Sat Feb 02 2008 - 18:13:36 EST
Sam Ravnborg wrote:
This should have used _ASM_PTR from asm.h:
#ifdef CONFIG_X86_32
/* 32 bits */
# define _ASM_PTR " .long "
...
#else
/* 64 bits */
# define _ASM_PTR " .quad "
There is an even better patch now in upstream.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/