bootmem: Add alloc_bootmem_align()
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 16 Nov 2010 21:23:50 +0000 (13:23 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 14 Dec 2010 00:11:13 +0000 (16:11 -0800)
commit53dde5f385bc56e312f78b7cb25ffaf8efd4735d
treecfdd0eaede1e6a5d0628746824796708f042395b
parentde2a8cf98ecdde25231d6c5e7901e2cffaf32af9
bootmem: Add alloc_bootmem_align()

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>
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>
Cc: <stable@kernel.org>
include/linux/bootmem.h