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: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
c43c1be0f7
commit
9354094a95
@ -96,7 +96,7 @@ int __init get_memcfg_numaq(void)
|
||||
void __init numaq_tsc_disable(void)
|
||||
{
|
||||
if (!found_numaq)
|
||||
return -1;
|
||||
return;
|
||||
|
||||
if (num_online_nodes() > 1) {
|
||||
printk(KERN_DEBUG "NUMAQ: disabling TSC\n");
|
||||
|
Loading…
Reference in New Issue
Block a user