Skip to content

Commit

Permalink
[PATCH] sparc: register_cpu() build fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 29, 2006
1 parent cc57637 commit 9458377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9458377

Please sign in to comment.