diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-29 02:24:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 10:26:20 -0700 |
commit | 94583779e6625154e8d7fce33d097ae7d089e9de (patch) | |
tree | 90075964afb06058476f28951e3b04f6a7cdbb94 | |
parent | cc57637b0b015fb5d70dbbec740de516d33af07d (diff) | |
download | lwn-94583779e6625154e8d7fce33d097ae7d089e9de.tar.gz lwn-94583779e6625154e8d7fce33d097ae7d089e9de.zip |
[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>
-rw-r--r-- | arch/sparc/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c index a893a9cc9534..2e5d08ce217b 100644 --- a/arch/sparc/kernel/setup.c +++ b/arch/sparc/kernel/setup.c @@ -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; |