From: Suresh Siddha Date: Tue, 16 Nov 2010 21:23:51 +0000 (-0800) Subject: x86, xsave: Use alloc_bootmem_align() instead of alloc_bootmem() X-Git-Tag: v2.6.37-rc7~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10340ae130fb70352eae1ae8a00b7906d91bf166;p=pandora-kernel.git x86, xsave: Use alloc_bootmem_align() instead of alloc_bootmem() Alignment of alloc_bootmem() depends on the value of L1_CACHE_SHIFT. What we need here, however, is 64 byte alignment. Use alloc_bootmem_align() and explicitly specify the alignment instead. This fixes a kernel boot crash reported by Jody when the cpu in .config is set to MPENTIUMII but the kernel is booted on a xsave-capable CPU. Reported-by: Jody Bruchon Signed-off-by: Suresh Siddha LKML-Reference: <20101116212442.059967454@sbsiddha-MOBL3.sc.intel.com> Signed-off-by: H. Peter Anvin Cc: --- Reading git-diff-tree failed