alloc_percpu: add align argument to __alloc_percpu.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 20 Feb 2009 07:29:08 +0000 (16:29 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 20 Feb 2009 07:29:08 +0000 (16:29 +0900)
commit313e458f81ec3852106c5a83830fe0d4f405a71a
tree682cd5b6d7dc4e0e9eccdcc7915820dd33c87a34
parentb36128c830a8f5bd7d4981f5b0b69950f5928ee6
alloc_percpu: add align argument to __alloc_percpu.

This prepares for a real __alloc_percpu, by adding an alignment argument.
Only one place uses __alloc_percpu directly, and that's for a string.

tj: af_inet also uses __alloc_percpu(), update it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Jens Axboe <axboe@kernel.dk>
block/blktrace.c
include/linux/percpu.h
net/ipv4/af_inet.c