aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-07-22 05:12:42 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-22 14:03:38 -0400
commit7aa6ec56b9e9e95eb6c83516ddbb6159fd11c224 (patch)
treea95332000a3883bf442bf46259dc7635e998444c /arch/x86_64
parenta284b0518d2fe27cdde19485c8fe077a128cd827 (diff)
x86_64: fix section mismatch warning in hpet.c
Fix following warnings: WARNING: vmlinux.o(.text+0x945e): Section mismatch: reference to .init.text:__set_fixmap (between 'hpet_arch_init' and 'hpet_mask_rtc_irq_bit') WARNING: vmlinux.o(.text+0x9474): Section mismatch: reference to .init.text:__set_fixmap (between 'hpet_arch_init' and 'hpet_mask_rtc_irq_bit') hpet_arch_init is only used from __init context so mark it __init. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/kernel/hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/hpet.c b/arch/x86_64/kernel/hpet.c
index 636f4f9fc6bb..e2d1b912e154 100644
--- a/arch/x86_64/kernel/hpet.c
+++ b/arch/x86_64/kernel/hpet.c
@@ -133,7 +133,7 @@ struct clocksource clocksource_hpet = {
133 .vread = vread_hpet, 133 .vread = vread_hpet,
134}; 134};
135 135
136int hpet_arch_init(void) 136int __init hpet_arch_init(void)
137{ 137{
138 unsigned int id; 138 unsigned int id;
139 u64 tmp; 139 u64 tmp;