kmemcheck: move 64-bit ifdef out of kmemcheck_opcode_decode()
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 26 Feb 2009 09:23:52 +0000 (11:23 +0200)
committerVegard Nossum <vegard.nossum@gmail.com>
Mon, 15 Jun 2009 10:39:59 +0000 (12:39 +0200)
commit6d9609c13250631c1d0c55a29a64d5687fd91293
treef925b5dfb2c250e6de98b3e1f880149324bb99a1
parent0c33cacd8672ef034ba414510f71ea2bd9370111
kmemcheck: move 64-bit ifdef out of kmemcheck_opcode_decode()

This patch moves the CONFIG_X86_64 ifdef out of kmemcheck_opcode_decode() by
introducing a version of the function that always returns false for
CONFIG_X86_32.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
arch/x86/mm/kmemcheck/opcode.c