From 6f786a70d80a9a1bc2a2a507e52b0f90db68594c Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sun, 2 Nov 2008 00:15:38 -0700 Subject: [PATCH] --- yaml --- r: 118353 b: refs/heads/master c: a1995a6599044076e2e13512ffbcecc49865e63e h: refs/heads/master i: 118351: b932e63593a31f02a6a10a2e0b076a2e6df9f552 v: v3 --- [refs] | 2 +- trunk/arch/sparc/include/asm/processor_64.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index aed6e3c12d92..3b000138400c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e68f0aee89ebb93aaeedf064e0291d3c19520f7e +refs/heads/master: a1995a6599044076e2e13512ffbcecc49865e63e diff --git a/trunk/arch/sparc/include/asm/processor_64.h b/trunk/arch/sparc/include/asm/processor_64.h index 137a6bd72fc8..59fcebb8f440 100644 --- a/trunk/arch/sparc/include/asm/processor_64.h +++ b/trunk/arch/sparc/include/asm/processor_64.h @@ -36,10 +36,10 @@ #define VPTE_SIZE (1 << (VA_BITS - PAGE_SHIFT + 3)) #endif -#define TASK_SIZE ((unsigned long)-VPTE_SIZE) #define TASK_SIZE_OF(tsk) \ (test_tsk_thread_flag(tsk,TIF_32BIT) ? \ - (1UL << 32UL) : TASK_SIZE) + (1UL << 32UL) : ((unsigned long)-VPTE_SIZE)) +#define TASK_SIZE TASK_SIZE_OF(current) #ifdef __KERNEL__ #define STACK_TOP32 ((1UL << 32UL) - PAGE_SIZE)