diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-11 17:57:47 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-11 17:57:47 +0100 |
commit | ff3e88f816e3e4d35cb0483b786f8e209dbf7ff7 (patch) | |
tree | ec114bbc6d2f3f8dc9fc39a19ae5e2afdb2d6417 /xen/arch/x86/i8259.c | |
parent | d53485d69b6d328366038cfad8e9e90f66bdb317 (diff) | |
download | xen-ff3e88f816e3e4d35cb0483b786f8e209dbf7ff7.tar.gz xen-ff3e88f816e3e4d35cb0483b786f8e209dbf7ff7.tar.bz2 xen-ff3e88f816e3e4d35cb0483b786f8e209dbf7ff7.zip |
Convert __init into __devinit in wakeup path.
Need to ensure all the code slice in the wakeup path still
existing. For this purpose, we have to use __devinit instead
of __init, since the former is null for CONFIG_HOTPLUG while
the latter always causes related code to be free-ed after
first boot.
Later when adding __init to some function, be sure to consider
wakeup case and cpu hotplug!
Signed-off-by <Kevin.Tian@intel.com>
Diffstat (limited to 'xen/arch/x86/i8259.c')
-rw-r--r-- | xen/arch/x86/i8259.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c index ecda0f1212..b02606af39 100644 --- a/xen/arch/x86/i8259.c +++ b/xen/arch/x86/i8259.c @@ -336,7 +336,7 @@ int i8259A_suspend(void) return 0; } -void __init init_8259A(int auto_eoi) +void __devinit init_8259A(int auto_eoi) { unsigned long flags; |