git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IA64-SGI] fix bte_copy() calling smp_processor_id() while preemptible
[safe/jmp/linux-2.6]
/
arch
/
ia64
/
sn
/
kernel
/
bte.c
diff --git
a/arch/ia64/sn/kernel/bte.c
b/arch/ia64/sn/kernel/bte.c
index
b75814e
..
45854c6
100644
(file)
--- a/
arch/ia64/sn/kernel/bte.c
+++ b/
arch/ia64/sn/kernel/bte.c
@@
-105,7
+105,7
@@
bte_result_t bte_copy(u64 src, u64 dest, u64 len, u64 mode, void *notification)
/*
* Start with interface corresponding to cpu number
*/
- bte_first =
get_cpu
() % btes_per_node;
+ bte_first =
raw_smp_processor_id
() % btes_per_node;
if (mode & BTE_USE_DEST) {
/* try remote then local */