Blackfin: use raw_smp_processor_id() in exception code
authorYi Li <yi.li@analog.com>
Thu, 20 Aug 2009 04:17:47 +0000 (04:17 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 02:10:32 +0000 (22:10 -0400)
When preempt debugging is enabled, smp_processor_id() may utilize the
"current" structure.  This may not be safe to access under all exceptions
due to it being in dynamically allocated memory.  So in exception code,
make sure we use raw_smp_processor_id() instead to get at the real value
directly.

Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

No differences found