]> git.karo-electronics.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:19 +0000 (13:58 -0800)
commit297ff1579de0847f15bb23b15b171570da270c09
treef0c8bf359353358725b6476a08ec73441916b292
parent6f92687b79abede5134a20e42980bb24eef1c7ea
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>
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