summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/debugreg.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-14 03:35:29 +0300
committerIngo Molnar <mingo@elte.hu>2009-11-14 17:32:53 +0300
commit68efa37df779b3e04280598e8b5b3a1919b65fee (patch)
tree6954b55c7a22d9f13871771437407de13a6edfb4 /arch/x86/include/asm/debugreg.h
parent688bcaff291cf2fe2734e43f2793d4d05b850518 (diff)
downloadlinux-68efa37df779b3e04280598e8b5b3a1919b65fee.tar.xz
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.h2
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__ */