[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: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
cc57637b0b
commit
94583779e6
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ static int __init topology_init(void)
|
|||
if (!p)
|
||||
err = -ENOMEM;
|
||||
else
|
||||
register_cpu(p, i, NULL);
|
||||
register_cpu(p, i);
|
||||
}
|
||||
|
||||
return err;
|
||||
|
|
Loading…
Reference in a new issue