Commit 94583779e6625154e8d7fce33d097ae7d089e9de

Authored by Andrew Morton
Committed by Linus Torvalds
1 parent cc57637b0b

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/sparc/kernel/setup.c
... ... @@ -496,7 +496,7 @@
496 496 if (!p)
497 497 err = -ENOMEM;
498 498 else
499   - register_cpu(p, i, NULL);
  499 + register_cpu(p, i);
500 500 }
501 501  
502 502 return err;