diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-02-11 14:22:57 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 17:45:58 (GMT) |
commit | 080c37473eb671a037b3e9a315303851f0675be5 (patch) | |
tree | b407d85217f9c979eed57f2adb31bc3fb06a9c09 /arch/arc/Kconfig | |
parent | 8872e9e513eba636c8d4266fe667660f73cd66e6 (diff) | |
download | linux-080c37473eb671a037b3e9a315303851f0675be5.tar.xz |
ARC: [optim] Cache "current" in Register r25
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r-- | arch/arc/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 7db9785..03347cb 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -264,6 +264,13 @@ config LINUX_LINK_BASE endmenu # "Platform Board Configuration" +config ARC_CURR_IN_REG + bool "Dedicate Register r25 for current_task pointer" + default y + help + This reserved Register R25 to point to Current Task in + kernel mode. This saves memory access for each such access + config ARC_STACK_NONEXEC bool "Make stack non-executable" default n |