Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=83598f1cb06101e972b1f5aaf3408eb729622fa8
Commit:     83598f1cb06101e972b1f5aaf3408eb729622fa8
Parent:     c9d06962233bd0ce9bf46b007900eb88e716e948
Author:     Deepak Saxena <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 19 16:49:45 2007 -0700
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Sat Mar 24 17:01:49 2007 +0000

    [MIPS] Make MIPS udelay() preempt safe under DEBUG_PREEMPT
    
    Signed-off-by: Manish Lachwani <[EMAIL PROTECTED]>
    Signed-off-by: Deepak Saxena <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 include/asm-mips/delay.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-mips/delay.h b/include/asm-mips/delay.h
index ea77050..223d156 100644
--- 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)
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to