Commit 9354094a authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: fix numaq_tsc_disable

fix:

 arch/x86/kernel/numaq_32.c: In function ‘numaq_tsc_disable’:
 arch/x86/kernel/numaq_32.c:99: warning: ‘return’ with a value, in function returning void
Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c43c1be0
...@@ -96,7 +96,7 @@ int __init get_memcfg_numaq(void) ...@@ -96,7 +96,7 @@ int __init get_memcfg_numaq(void)
void __init numaq_tsc_disable(void) void __init numaq_tsc_disable(void)
{ {
if (!found_numaq) if (!found_numaq)
return -1; return;
if (num_online_nodes() > 1) { if (num_online_nodes() > 1) {
printk(KERN_DEBUG "NUMAQ: disabling TSC\n"); printk(KERN_DEBUG "NUMAQ: disabling TSC\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment