projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9d0696
)
[MIPS] Make MIPS udelay() preempt safe under DEBUG_PREEMPT
author
Deepak Saxena
<dsaxena@plexity.net>
Mon, 19 Mar 2007 23:49:45 +0000
(16:49 -0700)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 24 Mar 2007 17:01:49 +0000
(17:01 +0000)
Signed-off-by: Manish Lachwani <mlachwani@mvista.com>
Signed-off-by: Deepak Saxena <dsaxena@mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/delay.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/delay.h
b/include/asm-mips/delay.h
index ea77050f8e3a6f3266bd80a13126f79b35c964bb..223d156efb9fe0f1369304ce11745942582debba 100644
(file)
--- a/
include/asm-mips/delay.h
+++ b/
include/asm-mips/delay.h
@@
-79,7
+79,7
@@
static inline void __udelay(unsigned long usecs, unsigned long lpj)
__delay(usecs);
}
-#define __udelay_val cpu_data[smp_processor_id()].udelay_val
+#define __udelay_val cpu_data[
raw_
smp_processor_id()].udelay_val
#define udelay(usecs) __udelay((usecs),__udelay_val)