Commit 94583779 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sparc: register_cpu() build fix

arch/sparc/kernel/setup.c: In function 'topology_init':
arch/sparc/kernel/setup.c:528: error: too many arguments to function 'register_cpu'

Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cc57637b
...@@ -496,7 +496,7 @@ static int __init topology_init(void) ...@@ -496,7 +496,7 @@ static int __init topology_init(void)
if (!p) if (!p)
err = -ENOMEM; err = -ENOMEM;
else else
register_cpu(p, i, NULL); register_cpu(p, i);
} }
return err; return err;
......
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