HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release of coccinelle 1.0.0-rc9
[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