diff options
| author | Sam Ravnborg <[email protected]> | 2007-06-01 00:47:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-01 08:18:30 -0700 |
| commit | 39959588f58668472bc7108942a8998acedce911 (patch) | |
| tree | 16c460db4bacff9b5b0505aa3ed5b3c18f55d50e /include/linux/debugobjects.h | |
| parent | b2b77b233557bde22498a519f650b1ccc91ddb4e (diff) | |
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 <[email protected]>
Cc: Avi Kivity <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions