diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-04-28 01:09:25 +0000 |
commit | b9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch) | |
tree | 42d07b0c7246ae2536a702e7c5de9e2732341116 /include/asm-sh/current.h | |
parent | 7406b0a326f2d70ade2671c37d1beef62249db97 (diff) |
Merge with 2.3.99-pre6.
Diffstat (limited to 'include/asm-sh/current.h')
-rw-r--r-- | include/asm-sh/current.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-sh/current.h b/include/asm-sh/current.h index 3bd231173..355a2cd14 100644 --- a/include/asm-sh/current.h +++ b/include/asm-sh/current.h @@ -12,10 +12,9 @@ static __inline__ struct task_struct * get_current(void) { struct task_struct *current; - __asm__("stc $r4_bank, %0\n\t" - "add %1, %0" - :"=&r" (current) - :"r" (-8192)); + __asm__("stc $r7_bank, %0" + :"=r" (current)); + return current; } |