diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 13:32:54 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 13:32:54 +0200 |
commit | b86040a59feb255a8193173caa4d5199464433d5 (patch) | |
tree | 89c07450eabc2abb88bb4d6e32d61fd3855f000e /arch/arm/kernel/unwind.c | |
parent | Thumb-2: Add macros for the unified assembler syntax (diff) | |
download | linux-b86040a59feb255a8193173caa4d5199464433d5.tar.xz linux-b86040a59feb255a8193173caa4d5199464433d5.zip |
Thumb-2: Implementation of the unified start-up and exceptions code
This patch implements the ARM/Thumb-2 unified kernel start-up and
exception handling code.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/kernel/unwind.c')
-rw-r--r-- | arch/arm/kernel/unwind.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c index dd56e11f339a..39baf1128bfa 100644 --- a/arch/arm/kernel/unwind.c +++ b/arch/arm/kernel/unwind.c @@ -62,7 +62,11 @@ struct unwind_ctrl_block { }; enum regs { +#ifdef CONFIG_THUMB2_KERNEL + FP = 7, +#else FP = 11, +#endif SP = 13, LR = 14, PC = 15 |