2.6.21-rc2-mm2 fails does not compile
From: Marc Dietrich
Date: Wed Mar 07 2007 - 06:54:50 EST
Hi,
the fix "revert-optimize-and-simplify-get_cycles_sync" breaks the build:
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/timex.h:10,
from include/linux/timex.h:187,
from include/linux/sched.h:50,
from include/linux/utsname.h:35,
from include/asm/elf.h:12,
from include/linux/elf.h:7,
from include/linux/module.h:15,
from include/linux/crypto.h:21,
from arch/i386/kernel/asm-offsets.c:7:
include/asm/tsc.h: In function âget_cycles_syncâ:
include/asm/tsc.h:45: warning: implicit declaration of
function âalternative_ioâ
include/asm/tsc.h:46: error: called object â"=a"â is not a function
include/asm/tsc.h:46: error: called object â"0"â is not a function
include/asm/tsc.h:46: error: expected â)â before â:â token
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
seems that alternative_io is only defined in the x86_64 case ...
what's the fix for the fix ?
Marc
--
"Those who question our statements are traitors"
Lord Arthur Ponsonby, "Falsehood in Wartime: Propaganda Lies of the First
World War", 1928
-
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/