git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sc92031: add a link to the datasheet
[pandora-kernel.git]
/
kernel
/
smp.c
diff --git
a/kernel/smp.c
b/kernel/smp.c
index
172b182
..
5cfa0e5
100644
(file)
--- a/
kernel/smp.c
+++ b/
kernel/smp.c
@@
-223,7
+223,7
@@
int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
local_irq_save(flags);
func(info);
local_irq_restore(flags);
- } else if ((unsigned)cpu <
NR_CPUS
&& cpu_online(cpu)) {
+ } else if ((unsigned)cpu <
nr_cpu_ids
&& cpu_online(cpu)) {
struct call_single_data *data = NULL;
if (!wait) {