summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/processor.h
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>1999-10-12 17:33:49 +0000
committerHarald Koerfgen <hkoerfg@web.de>1999-10-12 17:33:49 +0000
commitf20726c6656eb8412fafe93d7e42bef64819bb99 (patch)
tree1bb272e9142f126b49fdb26a80d7051eeb6b7e6e /include/asm-mips/processor.h
parentd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (diff)
o R3000 fixes
o moved to original 2.3.19 NCR53C9x driver o CONFIG_ULTRIX_PARTION is working again and now big endian proof
Diffstat (limited to 'include/asm-mips/processor.h')
-rw-r--r--include/asm-mips/processor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-mips/processor.h b/include/asm-mips/processor.h
index 1df7cb200..ca561233e 100644
--- a/include/asm-mips/processor.h
+++ b/include/asm-mips/processor.h
@@ -1,4 +1,4 @@
-/* $Id: processor.h,v 1.19 1999/09/28 22:27:17 ralf Exp $
+/* $Id: processor.h,v 1.20 1999/10/09 00:01:43 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -12,6 +12,8 @@
#ifndef _ASM_PROCESSOR_H
#define _ASM_PROCESSOR_H
+#include <asm/isadep.h>
+
/*
* Default implementation of macro that returns current
* instruction pointer ("program counter").
@@ -208,7 +210,7 @@ extern inline unsigned long thread_saved_pc(struct thread_struct *t)
*/
#define start_thread(regs, new_pc, new_sp) do { \
/* New thread looses kernel privileges. */ \
- regs->cp0_status = (regs->cp0_status & ~(ST0_CU0|ST0_KSU)) | KSU_USER;\
+ regs->cp0_status = (regs->cp0_status & ~(ST0_CU0|ST0_KSU)) | KU_USER;\
regs->cp0_epc = new_pc; \
regs->regs[29] = new_sp; \
current->thread.current_ds = USER_DS; \