aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/debugreg.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-13 19:35:29 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-14 09:32:53 -0500
commit68efa37df779b3e04280598e8b5b3a1919b65fee (patch)
tree6954b55c7a22d9f13871771437407de13a6edfb4 /arch/x86/include/asm/debugreg.h
parent688bcaff291cf2fe2734e43f2793d4d05b850518 (diff)
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)
96 96
97extern void aout_dump_debugregs(struct user *dump); 97extern void aout_dump_debugregs(struct user *dump);
98 98
99#ifdef CONFIG_KVM
100extern void hw_breakpoint_restore(void); 99extern void hw_breakpoint_restore(void);
101#endif
102 100
103#endif /* __KERNEL__ */ 101#endif /* __KERNEL__ */
104 102