diff options
| author | Suresh Siddha <[email protected]> | 2010-11-16 21:23:51 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2010-12-14 00:13:11 +0000 |
| commit | 10340ae130fb70352eae1ae8a00b7906d91bf166 (patch) | |
| tree | 1c0f3e6524ed699fc63f8a6c614a3f7bbf839411 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | bootmem: Add alloc_bootmem_align() (diff) | |
| download | kernel-10340ae130fb70352eae1ae8a00b7906d91bf166.tar.gz kernel-10340ae130fb70352eae1ae8a00b7906d91bf166.zip | |
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 <[email protected]>
Signed-off-by: Suresh Siddha <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
