Release of coccinelle 1.0.0-rc9
[bpt/coccinelle.git] / tests / deftodo.c
CommitLineData
91eba41f
C
1#define UNIT_TYPE int
2
3/*
4 * cpu_alloc area immediately follows the percpu area that is allocated for
5 * each processor.
6 */
7#define cpu_alloc_start ((int *)__per_cpu_end)
8
9void __init cpu_alloc_init(void)
10{
11 cpu_alloc_start = alloc_bootmem(nr_units * UNIT_SIZE);
12}
13