]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched, sparc64: Turn cpu_coregroup_mask() into a real function
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Apr 2011 04:00:40 +0000 (14:00 +1000)
committerIngo Molnar <mingo@elte.hu>
Tue, 12 Apr 2011 06:46:41 +0000 (08:46 +0200)
commit3905c54f2bd2c6f937f87307987ca072eabc3e7b
tree553aab7b0056cdcd0c44a5e4cacf0ae7be2b06c9
parent60495e7760d8ee364695006af37309b0755e0e17
sched, sparc64: Turn cpu_coregroup_mask() into a real function

This compile error triggers on Sparc64:

   kernel/sched.c:7140: error: 'cpu_coregroup_mask' undeclared here (not in a function)

Because after the recent scheduler domain cleanups the scheduler
uses this arch method as a function pointer in a scheduler
topology data structure - which is not possible with a macro.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20110412140040.3020ef55.sfr@canb.auug.org.au
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/sparc/include/asm/topology_64.h