diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-10-27 23:03:09 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-27 23:03:09 -0400 |
commit | 6ad2b84cf014d91a9dffa3f8edb008430fbdb445 (patch) | |
tree | edf7a13c83fbcba75fa1465c2a4cbffb08c42960 /arch/blackfin/Kconfig | |
parent | fe8015ce2588e3ffe65284a2883703355804276e (diff) |
Blackfin arch: add an option to allow people to stick exception stack into L1 scratch
allow people to stick exception stack into L1 scratch
and make sure it gets placed into .bss sections rather than .data
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index ac76baac1df3..e37e993431b9 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -667,6 +667,17 @@ config APP_STACK_L1 | |||
667 | 667 | ||
668 | Currently only works with FLAT binaries. | 668 | Currently only works with FLAT binaries. |
669 | 669 | ||
670 | config EXCEPTION_L1_SCRATCH | ||
671 | bool "Locate exception stack in L1 Scratch Memory" | ||
672 | default n | ||
673 | depends on !APP_STACK_L1 && !SYSCALL_TAB_L1 | ||
674 | help | ||
675 | Whenever an exception occurs, use the L1 Scratch memory for | ||
676 | stack storage. You cannot place the stacks of FLAT binaries | ||
677 | in L1 when using this option. | ||
678 | |||
679 | If you don't use L1 Scratch, then you should say Y here. | ||
680 | |||
670 | comment "Speed Optimizations" | 681 | comment "Speed Optimizations" |
671 | config BFIN_INS_LOWOVERHEAD | 682 | config BFIN_INS_LOWOVERHEAD |
672 | bool "ins[bwl] low overhead, higher interrupt latency" | 683 | bool "ins[bwl] low overhead, higher interrupt latency" |