diff options
author | David Daney <david.daney@cavium.com> | 2014-12-18 05:59:53 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-02-20 08:14:52 -0500 |
commit | 151f9148d1af9ed3b5e29ab49800b0669bfe6a6a (patch) | |
tree | c0eeacd986219046e968a85de4bb8aeeeb6a45ce | |
parent | fa75da8ecd29a91ffe338cd8f992e6fb1f5ef046 (diff) |
MIPS: Remove unneeded #ifdef __KERNEL__ from asm/processor.h
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8737/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/include/asm/processor.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 9daa38608cd8..be903acf4fe4 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h | |||
@@ -54,9 +54,7 @@ extern unsigned int vced_count, vcei_count; | |||
54 | #define TASK_SIZE 0x7fff8000UL | 54 | #define TASK_SIZE 0x7fff8000UL |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifdef __KERNEL__ | ||
58 | #define STACK_TOP_MAX TASK_SIZE | 57 | #define STACK_TOP_MAX TASK_SIZE |
59 | #endif | ||
60 | 58 | ||
61 | #define TASK_IS_32BIT_ADDR 1 | 59 | #define TASK_IS_32BIT_ADDR 1 |
62 | 60 | ||
@@ -73,11 +71,7 @@ extern unsigned int vced_count, vcei_count; | |||
73 | #define TASK_SIZE32 0x7fff8000UL | 71 | #define TASK_SIZE32 0x7fff8000UL |
74 | #define TASK_SIZE64 0x10000000000UL | 72 | #define TASK_SIZE64 0x10000000000UL |
75 | #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) | 73 | #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) |
76 | |||
77 | #ifdef __KERNEL__ | ||
78 | #define STACK_TOP_MAX TASK_SIZE64 | 74 | #define STACK_TOP_MAX TASK_SIZE64 |
79 | #endif | ||
80 | |||
81 | 75 | ||
82 | #define TASK_SIZE_OF(tsk) \ | 76 | #define TASK_SIZE_OF(tsk) \ |
83 | (test_tsk_thread_flag(tsk, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) | 77 | (test_tsk_thread_flag(tsk, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) |