diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-11-14 01:35:29 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-14 15:32:53 +0100 |
commit | 68efa37df779b3e04280598e8b5b3a1919b65fee (patch) | |
tree | 6954b55c7a22d9f13871771437407de13a6edfb4 /arch/x86/include/asm/debugreg.h | |
parent | 688bcaff291cf2fe2734e43f2793d4d05b850518 (diff) | |
download | linux-next-68efa37df779b3e04280598e8b5b3a1919b65fee.tar.gz |
hw-breakpoints, x86: Fix modular KVM build
This build error:
arch/x86/kvm/x86.c:3655: error: implicit declaration of function 'hw_breakpoint_restore'
Happens because in the CONFIG_KVM=m case there's no 'CONFIG_KVM' define
in the kernel - it's CONFIG_KVM_MODULE in that case.
Make the prototype available unconditionally.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Prasad <prasad@linux.vnet.ibm.com>
LKML-Reference: <1258114575-32655-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/debugreg.h')
-rw-r--r-- | arch/x86/include/asm/debugreg.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/debugreg.h b/arch/x86/include/asm/debugreg.h index 0f6e92af4227..fdabd8435765 100644 --- a/arch/x86/include/asm/debugreg.h +++ b/arch/x86/include/asm/debugreg.h @@ -96,9 +96,7 @@ static inline int hw_breakpoint_active(void) extern void aout_dump_debugregs(struct user *dump); -#ifdef CONFIG_KVM extern void hw_breakpoint_restore(void); -#endif #endif /* __KERNEL__ */ |