[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.0.9999.0710151924420.11508@chino.kir.corp.google.com>
Date: Mon, 15 Oct 2007 19:26:24 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Dave Hansen <haveblue@...ibm.com>
cc: Matt Mackall <mpm@...enic.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Rusty Russell <rusty@...tcorp.com.au>,
Jeremy Fitzhardinge <jeremy@...p.org>,
Fengguang Wu <wfg@...l.ustc.edu.cn>
Subject: Re: [PATCH 2/11] maps3: introduce task_size_of for all arches
On Mon, 15 Oct 2007, Dave Hansen wrote:
> diff -puN include/asm-mips/processor.h~PATCH_2_11_maps3-_introduce_task_size_of_for_all_arches include/asm-mips/processor.h
> --- lxc/include/asm-mips/processor.h~PATCH_2_11_maps3-_introduce_task_size_of_for_all_arches 2007-10-15 17:29:22.000000000 -0700
> +++ lxc-dave/include/asm-mips/processor.h 2007-10-15 17:34:12.000000000 -0700
> @@ -45,6 +45,8 @@ extern unsigned int vced_count, vcei_cou
> * space during mmap's.
> */
> #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
> +#define TASK_SIZE_OF(tsk) \
> + (test_tsk_thread_flag(tak, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE)
> #endif
>
> #ifdef CONFIG_64BIT
tak needs to be tsk.
> @@ -65,6 +67,8 @@ extern unsigned int vced_count, vcei_cou
> #define TASK_UNMAPPED_BASE \
> (test_thread_flag(TIF_32BIT_ADDR) ? \
> PAGE_ALIGN(TASK_SIZE32 / 3) : PAGE_ALIGN(TASK_SIZE / 3))
> +#define TASK_SIZE_OF(tsk) \
> + (test_tsk_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE)
> #endif
>
> #define NUM_FPU_REGS 32
test_tsk_thread_flag() takes two arguments.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists