Subject: [PATCH] x86/numaq: fix section mismatch

From: Vegard Nossum <[email-masked]>
Date: Wed, 20 Aug 2008 18:15:21 +0200

This section mismatch would lead to this crash:

BUG: unable to handle kernel paging request at c08a45f0
IP: [<c08a45f0>] numaq_tsc_disable+0x0/0x40

Cc: Yinghai Lu <[email-masked]>
Signed-off-by: Vegard Nossum <[email-masked]>
---
 arch/x86/kernel/numaq_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/numaq_32.c b/arch/x86/kernel/numaq_32.c
index b8c4561..eecc8c1 100644
--- a/arch/x86/kernel/numaq_32.c
+++ b/arch/x86/kernel/numaq_32.c
@@ -73,7 +73,7 @@ static void __init smp_dump_qct(void)
 }

-void __init numaq_tsc_disable(void)
+void __cpuinit numaq_tsc_disable(void)
 {
 	if (!found_numaq)
 		return;
-- 
1.5.6.4