linux-stable-rt/drivers/kvm
Sam Ravnborg 39959588f5 kvm: fix section mismatch warning in kvm-intel.o
Fix following section mismatch warning in kvm-intel.o:
WARNING: o-i386/drivers/kvm/kvm-intel.o(.init.text+0xbd): Section mismatch: reference to .exit.text: (between 'hardware_setup' and 'vmx_disabled_by_bios')

The function free_kvm_area is used in the function alloc_kvm_area which
is marked __init.
The __exit area is discarded by some archs during link-time if a
module is built-in resulting in an oops.

Note: This warning is only seen by my local copy of modpost
      but the change will soon hit upstream.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-01 08:18:30 -07:00
..
Kconfig [S390] Kconfig: refine depends statements. 2007-05-10 15:46:07 +02:00
Makefile
kvm.h Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
kvm_main.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
kvm_svm.h KVM: SVM: Only save/restore MSRs when needed 2007-05-03 10:52:32 +03:00
mmu.c KVM: fix an if() condition 2007-05-03 10:52:31 +03:00
paging_tmpl.h
segment_descriptor.h
svm.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
svm.h
vmx.c kvm: fix section mismatch warning in kvm-intel.o 2007-06-01 08:18:30 -07:00
vmx.h
x86_emulate.c
x86_emulate.h