coccinelle release 0.2.5
[bpt/coccinelle.git] / tests / deftodo.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
9 void __init cpu_alloc_init(void)
10 {
11 cpu_alloc_start = alloc_bootmem(nr_units * UNIT_SIZE);
12 }
13