aboutsummaryrefslogtreecommitdiff
path: root/arch/mn10300/include/asm/smp.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-03-18 16:54:31 +0000
committerDavid Howells <dhowells@redhat.com>2011-03-18 16:54:31 +0000
commite460d64405c04581e42aa9cbae76815a2d4e9abe (patch)
tree5c3deddaaf6d7883d6d39344b5a00857299f115b /arch/mn10300/include/asm/smp.h
parent67ddb4052daac9d449caf2643ac365d42a04219a (diff)
downloadvexpress-lsk-e460d64405c04581e42aa9cbae76815a2d4e9abe.tar.gz
MN10300: Use KGDB
Diffstat (limited to 'arch/mn10300/include/asm/smp.h')
-rw-r--r--arch/mn10300/include/asm/smp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/smp.h b/arch/mn10300/include/asm/smp.h
index e3d13a89985..6745dbe6494 100644
--- a/arch/mn10300/include/asm/smp.h
+++ b/arch/mn10300/include/asm/smp.h
@@ -62,8 +62,9 @@
* An alternate way of dealing with this could be to use the EPSW.S bits to
* cache this information for systems with up to four CPUs.
*/
+#define arch_smp_processor_id() (CPUID)
#if 0
-#define raw_smp_processor_id() (CPUID)
+#define raw_smp_processor_id() (arch_smp_processor_id())
#else
#define raw_smp_processor_id() (current_thread_info()->cpu)
#endif