Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Andrew Morton and committed by
Linus Torvalds
94583779 cc57637b

+1 -1
+1 -1
arch/sparc/kernel/setup.c
··· 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;