Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
percpu: make alloc_percpu() handle array types
alloc_percpu() couldn't handle array types like "int [100]" due to the way return type was casted. Fix it by using typeof() instead. Signed-off-by: Tejun Heo <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Reviewed-by: Christoph Lameter <[email protected]>
- Loading branch information