diff options
author | Vineet Gupta | 2013-02-11 15:22:57 +0100 |
---|---|---|
committer | Vineet Gupta | 2013-02-15 18:45:58 +0100 |
commit | 080c37473eb671a037b3e9a315303851f0675be5 (patch) | |
tree | b407d85217f9c979eed57f2adb31bc3fb06a9c09 /arch/arc/include/asm/processor.h | |
parent | ARC: [plat-arcfpga] defconfig (diff) | |
download | kernel-qcow2-linux-080c37473eb671a037b3e9a315303851f0675be5.tar.gz kernel-qcow2-linux-080c37473eb671a037b3e9a315303851f0675be5.tar.xz kernel-qcow2-linux-080c37473eb671a037b3e9a315303851f0675be5.zip |
ARC: [optim] Cache "current" in Register r25
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/processor.h')
-rw-r--r-- | arch/arc/include/asm/processor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h index 860252ec3fa7..b7b155610067 100644 --- a/arch/arc/include/asm/processor.h +++ b/arch/arc/include/asm/processor.h @@ -29,6 +29,9 @@ struct thread_struct { unsigned long callee_reg; /* pointer to callee regs */ unsigned long fault_address; /* dbls as brkpt holder as well */ unsigned long cause_code; /* Exception Cause Code (ECR) */ +#ifdef CONFIG_ARC_CURR_IN_REG + unsigned long user_r25; +#endif #ifdef CONFIG_ARC_FPU_SAVE_RESTORE struct arc_fpu fpu; #endif |