diff options
author | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:02 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:02 -0400 |
commit | b81947c646bfefdf98e2fde5d7d39cbbda8525d4 (patch) | |
tree | 944890e7a466af7512e878fa4f71bca1b0f7a600 /arch/mips/include/asm/processor.h | |
parent | c40d04df152a1111c5bbcb632278394dabd2b73d (diff) |
Disintegrate asm/system.h for MIPS
Disintegrate asm/system.h for MIPS.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/include/asm/processor.h')
-rw-r--r-- | arch/mips/include/asm/processor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index c104f1039a69..20e9dcf42b27 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <asm/cpu-info.h> | 19 | #include <asm/cpu-info.h> |
20 | #include <asm/mipsregs.h> | 20 | #include <asm/mipsregs.h> |
21 | #include <asm/prefetch.h> | 21 | #include <asm/prefetch.h> |
22 | #include <asm/system.h> | ||
23 | 22 | ||
24 | /* | 23 | /* |
25 | * Return current * instruction pointer ("program counter"). | 24 | * Return current * instruction pointer ("program counter"). |
@@ -356,6 +355,12 @@ unsigned long get_wchan(struct task_struct *p); | |||
356 | #define ARCH_HAS_PREFETCHW | 355 | #define ARCH_HAS_PREFETCHW |
357 | #define prefetchw(x) __builtin_prefetch((x), 1, 1) | 356 | #define prefetchw(x) __builtin_prefetch((x), 1, 1) |
358 | 357 | ||
358 | /* | ||
359 | * See Documentation/scheduler/sched-arch.txt; prevents deadlock on SMP | ||
360 | * systems. | ||
361 | */ | ||
362 | #define __ARCH_WANT_UNLOCKED_CTXSW | ||
363 | |||
359 | #endif | 364 | #endif |
360 | 365 | ||
361 | #endif /* _ASM_PROCESSOR_H */ | 366 | #endif /* _ASM_PROCESSOR_H */ |