mirror of https://github.com/torvalds/linux.git
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>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| kvm.h | ||
| kvm_main.c | ||
| kvm_svm.h | ||
| mmu.c | ||
| paging_tmpl.h | ||
| segment_descriptor.h | ||
| svm.c | ||
| svm.h | ||
| vmx.c | ||
| vmx.h | ||
| x86_emulate.c | ||
| x86_emulate.h | ||