mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
[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
@ -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 New Issue
Block a user