Title: [7217] trunk/arch/blackfin/kernel/cplb-nompu/cplbmgr.c: fix bug [#5451] - In blackfin arch, raw_smp_processor_id() does not refer to the current thread info "current".
- Revision
- 7217
- Author
- adamliyi
- Date
- 2009-08-19 23:49:39 -0400 (Wed, 19 Aug 2009)
Log Message
fix bug [#5451] - In blackfin arch, raw_smp_processor_id() does not refer to the current thread info "current". We use it in exception handler to replace smp_processor_id() which use "current" if turning on CONFIG_DEBUG_PREEMPT.
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/cplb-nompu/cplbmgr.c (7216 => 7217)
--- trunk/arch/blackfin/kernel/cplb-nompu/cplbmgr.c 2009-08-19 03:22:19 UTC (rev 7216)
+++ trunk/arch/blackfin/kernel/cplb-nompu/cplbmgr.c 2009-08-20 03:49:39 UTC (rev 7217)
@@ -202,7 +202,7 @@
MGR_ATTR int cplb_hdr(int seqstat, struct pt_regs *regs)
{
int cause = seqstat & 0x3f;
- unsigned int cpu = smp_processor_id();
+ unsigned int cpu = raw_smp_processor_id();
switch (cause) {
case VEC_CPLB_I_M:
return icplb_miss(cpu);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits