diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-03-24 03:10:57 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-03-24 03:10:57 +0000 |
commit | 93f107ba6cceee2c35d207349976936da48393bc (patch) | |
tree | c33ea3d9e7e92245d6593b694cb514c8db5ff05d /include/asm-mips/current.h | |
parent | f79c44e04169d10b07b53d4a524c8c41ea5504d5 (diff) |
Add code to support the SB1 core, including mmu routines, processor
detection. This also tweaks cpu_probe() to use bits 15:8 of PRId as
a company ID, as per the mips32/mips64 specs, and use bits 7:0 as the
processor ID within the company. Patch from Justin with mods and some
additional bits by me.
Diffstat (limited to 'include/asm-mips/current.h')
-rw-r--r-- | include/asm-mips/current.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/include/asm-mips/current.h b/include/asm-mips/current.h index 3015ce4bd..2c776757e 100644 --- a/include/asm-mips/current.h +++ b/include/asm-mips/current.h @@ -1,5 +1,4 @@ -/* $Id: current.h,v 1.5 1999/07/26 19:42:43 harald 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 * for more details. @@ -16,21 +15,5 @@ register struct task_struct *current asm("$28"); #endif /* _LANGUAGE_C */ -#ifdef _LANGUAGE_ASSEMBLY - -/* - * Special variant for use by exception handlers when the stack pointer - * is not loaded. - */ -#define _GET_CURRENT(reg) \ - lui reg, %hi(kernelsp); \ - .set push; \ - .set reorder; \ - lw reg, %lo(kernelsp)(reg); \ - .set pop; \ - ori reg, 8191; \ - xori reg, 8191 - -#endif #endif /* _ASM_CURRENT_H */ |