mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
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
This commit is contained in:
parent
c40d04df15
commit
b81947c646
90 changed files with 262 additions and 309 deletions
|
@ -19,7 +19,6 @@
|
|||
#include <asm/cpu-info.h>
|
||||
#include <asm/mipsregs.h>
|
||||
#include <asm/prefetch.h>
|
||||
#include <asm/system.h>
|
||||
|
||||
/*
|
||||
* Return current * instruction pointer ("program counter").
|
||||
|
@ -356,6 +355,12 @@ unsigned long get_wchan(struct task_struct *p);
|
|||
#define ARCH_HAS_PREFETCHW
|
||||
#define prefetchw(x) __builtin_prefetch((x), 1, 1)
|
||||
|
||||
/*
|
||||
* See Documentation/scheduler/sched-arch.txt; prevents deadlock on SMP
|
||||
* systems.
|
||||
*/
|
||||
#define __ARCH_WANT_UNLOCKED_CTXSW
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _ASM_PROCESSOR_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue