x86: clean up stack allocation and free
authorclameter@sgi.com <clameter@sgi.com>
Wed, 30 Jan 2008 12:30:32 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:32 +0000 (13:30 +0100)
commit6ea8bad1c06c8ccde381f1c848afe6a245bb33b5
tree41fd63390baf34cef3ce4ca16b525cef879c6079
parentec12fa5c80126b252ebcb474d12c832ec4647daa
x86: clean up stack allocation and free

Clean up the allocation and freeing of stacks a bit by using a __GFP_ZERO flag
instead of memset.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Mike Travis <travis@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/thread_info_64.h