]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bootmem: Add alloc_bootmem_align()
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 16 Nov 2010 21:23:50 +0000 (13:23 -0800)
committerAK <andi@firstfloor.org>
Sun, 6 Feb 2011 19:03:29 +0000 (11:03 -0800)
commit8724a1ca50969118196309121f0ba7179bcf8ee1
tree58e966f957b8d31343d386cfe73689b69d5a4730
parent6d597031f300ad36db98f888bb148914a2b0386b
bootmem: Add alloc_bootmem_align()

commit 53dde5f385bc56e312f78b7cb25ffaf8efd4735d upstream.

Add an alloc_bootmem_align() interface to allocate bootmem with
specified alignment.  This is necessary to be able to allocate the
xsave area in a subsequent patch.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <20101116212441.977574826@sbsiddha-MOBL3.sc.intel.com>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/bootmem.h