Messages in this thread | | | Date | Wed, 23 Jan 2013 17:14:32 +0100 | Subject | Re: [PATCH 3.8-rc4-nohz3] kvm: Add missing include and EXPORT_SYMBOL_GPL | From | Frederic Weisbecker <> |
| |
2013/1/23 Sedat Dilek <sedat.dilek@gmail.com>: > When CONFIG_KVM=m my build with 3.8-rc4-nohz3 breaks like this: > > ERROR: "guest_enter" [arch/x86/kvm/kvm.ko] undefined! > ERROR: "guest_exit" [arch/x86/kvm/kvm.ko] undefined! > > Fix this by removing the CONFIG_KVM ifdefs and adding missing > EXPORT_SYMBOL_GPL for: > + guest_enter() and guest_exit() > + vtime_guest_enter() and vtime_guest_exit() > > Also add a missing include: > + Add <linux/export.h> to kernel/context_tracking.c > > This issue was introduced with commit 8eebafe9be58 ("kvm: Prepare to > add generic guest entry/exit callbacks"). > > With some help of funny "i™"X86 hackerz! > > Tested on a Ubuntu/precise AMD64 with 'CONFIG_KVM=m'. > > [ vUNKNOWN: Without the magic "i" hack. -dileks ] > [ vUNKNOWN+1: Remove vtime.h from kvm_host.h. -dileks ] > > Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Thanks you!
I hope you don't mind if I fold this patch into 8eebafe9be58. If I apply your patch separately, my patch would break the bisection. But I'll add your signed-off and the appropriate co-authorship credits. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |