diff options
author | Tejun Heo <tj@kernel.org> | 2009-02-26 10:54:17 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-02-26 10:54:17 +0900 |
commit | e317603694bfd17b28a40de9d65e1a4ec12f816e (patch) | |
tree | ae286d9e1ae9ffacdd325ea76cd1d9ee88032efc /firmware | |
parent | d2b0261506602bd969164879206027b30358ffdf (diff) | |
download | linux-e317603694bfd17b28a40de9d65e1a4ec12f816e.tar.gz linux-e317603694bfd17b28a40de9d65e1a4ec12f816e.tar.bz2 linux-e317603694bfd17b28a40de9d65e1a4ec12f816e.zip |
percpu: fix too low alignment restriction on UP
UP __alloc_percpu() triggered WARN_ON_ONCE() if the requested
alignment is larger than that of unsigned long long, which is too
small for all the cacheline aligned allocations. Bump it up to
SMP_CACHE_BYTES which kmalloc allocations generally guarantee.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions