diff options
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r-- | include/linux/percpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h index 63c8b7a23e66..1e0e8878dc2a 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h | |||
@@ -57,6 +57,7 @@ | |||
57 | #endif | 57 | #endif |
58 | 58 | ||
59 | extern void *pcpu_base_addr; | 59 | extern void *pcpu_base_addr; |
60 | extern const int *pcpu_unit_map; | ||
60 | 61 | ||
61 | typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int cpu, size_t size); | 62 | typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int cpu, size_t size); |
62 | typedef void (*pcpu_fc_free_fn_t)(void *ptr, size_t size); | 63 | typedef void (*pcpu_fc_free_fn_t)(void *ptr, size_t size); |
@@ -66,7 +67,7 @@ typedef void (*pcpu_fc_map_fn_t)(void *ptr, size_t size, void *addr); | |||
66 | extern size_t __init pcpu_setup_first_chunk( | 67 | extern size_t __init pcpu_setup_first_chunk( |
67 | size_t static_size, size_t reserved_size, | 68 | size_t static_size, size_t reserved_size, |
68 | ssize_t dyn_size, size_t unit_size, | 69 | ssize_t dyn_size, size_t unit_size, |
69 | void *base_addr); | 70 | void *base_addr, const int *unit_map); |
70 | 71 | ||
71 | extern ssize_t __init pcpu_embed_first_chunk( | 72 | extern ssize_t __init pcpu_embed_first_chunk( |
72 | size_t static_size, size_t reserved_size, | 73 | size_t static_size, size_t reserved_size, |