diff options
| author | Amerigo Wang <[email protected]> | 2011-01-13 00:59:39 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-01-13 16:03:08 +0000 |
| commit | 351f8f8e6499ae4fff40f5e3a8fe16d9e1903646 (patch) | |
| tree | 9393c8d3a6a1eaa9dba50932eb6de3017a8afe86 /lib/flex_array.c | |
| parent | ihex: fix unused return value compiler warning (diff) | |
| download | kernel-351f8f8e6499ae4fff40f5e3a8fe16d9e1903646.tar.gz kernel-351f8f8e6499ae4fff40f5e3a8fe16d9e1903646.zip | |
kernel: clean up USE_GENERIC_SMP_HELPERS
For arch which needs USE_GENERIC_SMP_HELPERS, it has to select
USE_GENERIC_SMP_HELPERS, rather than leaving a choice to user, since they
don't provide their own implementions.
Also, move on_each_cpu() to kernel/smp.c, it is strange to put it in
kernel/softirq.c.
For arch which doesn't use USE_GENERIC_SMP_HELPERS, e.g. blackfin, only
on_each_cpu() is compiled.
Signed-off-by: Amerigo Wang <[email protected]>
Cc: David Howells <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
