[3.1-r5] x86 build warning in âarch_prepare_kprobeâ:

From: James Cloos
Date: Fri Sep 09 2011 - 10:22:12 EST


gcc-4.6.1 warns:

In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:17,
from /usr/src/lugabout-github/arch/x86/include/asm/percpu.h:44,
from /usr/src/lugabout-github/arch/x86/include/asm/current.h:5,
from /usr/src/lugabout-github/arch/x86/include/asm/processor.h:15,
from /usr/src/lugabout-github/arch/x86/include/asm/atomic.h:6,
from include/linux/atomic.h:4,
from include/linux/mutex.h:18,
from include/linux/notifier.h:13,
from include/linux/kprobes.h:34,
from arch/x86/kernel/kprobes.c:43:
/usr/src/lugabout-github/arch/x86/include/asm/bitops.h: In function âarch_prepare_kprobeâ:
/usr/src/lugabout-github/arch/x86/include/asm/bitops.h:319:2: warning: use of memory input without lvalue in asm operand 1 is deprecated [enabled by default]

-JimC
--
James Cloos <cloos@xxxxxxxxxxx> OpenPGP: 1024D/ED7DAEA6
--
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/