Commit 0093b108 authored by Ingo Molnar's avatar Ingo Molnar

Merge branch 'tj-percpu' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc into core/percpu

parents d2b02615 e3176036
...@@ -156,7 +156,7 @@ static inline void *__alloc_percpu(size_t size, size_t align) ...@@ -156,7 +156,7 @@ static inline void *__alloc_percpu(size_t size, size_t align)
* on it. Larger alignment should only be used for module * on it. Larger alignment should only be used for module
* percpu sections on SMP for which this path isn't used. * percpu sections on SMP for which this path isn't used.
*/ */
WARN_ON_ONCE(align > __alignof__(unsigned long long)); WARN_ON_ONCE(align > SMP_CACHE_BYTES);
return kzalloc(size, GFP_KERNEL); return kzalloc(size, GFP_KERNEL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment