diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 15:14:13 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 15:14:13 +0200 |
commit | c5fbc3966f48279dbebfde10248c977014aa9988 (patch) | |
tree | 0a52f645d89f91952c26b215f460a4ba195ca42c /arch/arm/nwfpe/fpa11.h | |
parent | Merge with /shiny/git/linux-2.6/.git (diff) | |
parent | [PATCH] x86_64 fsnotify build fix (diff) | |
download | linux-c5fbc3966f48279dbebfde10248c977014aa9988.tar.xz linux-c5fbc3966f48279dbebfde10248c977014aa9988.zip |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'arch/arm/nwfpe/fpa11.h')
-rw-r--r-- | arch/arm/nwfpe/fpa11.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/nwfpe/fpa11.h b/arch/arm/nwfpe/fpa11.h index 45cc65426a22..e4a61aea534b 100644 --- a/arch/arm/nwfpe/fpa11.h +++ b/arch/arm/nwfpe/fpa11.h @@ -29,9 +29,7 @@ * stack+task struct. Use the same method as 'current' uses to * reach them. */ -register unsigned long *user_registers asm("sl"); - -#define GET_USERREG() (user_registers) +#define GET_USERREG() ((struct pt_regs *)(THREAD_START_SP + (unsigned long)current_thread_info()) - 1) #include <linux/config.h> #include <linux/thread_info.h> |