aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-14 02:00:50 -0400
committerTejun Heo <tj@kernel.org>2009-08-14 02:00:50 -0400
commit3cbc85652767c38b252c8de55f9fd180b29e4c0d (patch)
treeccfedb764830dbd4a90b9517a9ad365af694c01f /include/linux/percpu.h
parent1d9d32572163b30be81dbe1409dfa7ea9763d0e8 (diff)
percpu: add @align to pcpu_fc_alloc_fn_t
pcpu_fc_alloc_fn_t is about to see more interesting usage, add @align parameter. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r--include/linux/percpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index 0cfdd14d096a..d385dbcf190b 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -71,7 +71,8 @@ extern const char *pcpu_fc_names[PCPU_FC_NR];
71 71
72extern enum pcpu_fc pcpu_chosen_fc; 72extern enum pcpu_fc pcpu_chosen_fc;
73 73
74typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int cpu, size_t size); 74typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int cpu, size_t size,
75 size_t align);
75typedef void (*pcpu_fc_free_fn_t)(void *ptr, size_t size); 76typedef void (*pcpu_fc_free_fn_t)(void *ptr, size_t size);
76typedef void (*pcpu_fc_populate_pte_fn_t)(unsigned long addr); 77typedef void (*pcpu_fc_populate_pte_fn_t)(unsigned long addr);
77typedef int (pcpu_fc_cpu_distance_fn_t)(unsigned int from, unsigned int to); 78typedef int (pcpu_fc_cpu_distance_fn_t)(unsigned int from, unsigned int to);