diff options
author | Tejun Heo <tj@kernel.org> | 2009-08-14 02:00:50 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-08-14 02:00:50 -0400 |
commit | 3cbc85652767c38b252c8de55f9fd180b29e4c0d (patch) | |
tree | ccfedb764830dbd4a90b9517a9ad365af694c01f /arch/x86/kernel/setup_percpu.c | |
parent | 1d9d32572163b30be81dbe1409dfa7ea9763d0e8 (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 'arch/x86/kernel/setup_percpu.c')
-rw-r--r-- | arch/x86/kernel/setup_percpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c index 8aad486c688f..660cde133141 100644 --- a/arch/x86/kernel/setup_percpu.c +++ b/arch/x86/kernel/setup_percpu.c | |||
@@ -126,9 +126,9 @@ static void * __init pcpu_alloc_bootmem(unsigned int cpu, unsigned long size, | |||
126 | /* | 126 | /* |
127 | * Helpers for first chunk memory allocation | 127 | * Helpers for first chunk memory allocation |
128 | */ | 128 | */ |
129 | static void * __init pcpu_fc_alloc(unsigned int cpu, size_t size) | 129 | static void * __init pcpu_fc_alloc(unsigned int cpu, size_t size, size_t align) |
130 | { | 130 | { |
131 | return pcpu_alloc_bootmem(cpu, size, size); | 131 | return pcpu_alloc_bootmem(cpu, size, align); |
132 | } | 132 | } |
133 | 133 | ||
134 | static void __init pcpu_fc_free(void *ptr, size_t size) | 134 | static void __init pcpu_fc_free(void *ptr, size_t size) |