diff options
author | 2009-07-04 08:10:59 +0900 | |
---|---|---|
committer | 2009-07-04 08:10:59 +0900 | |
commit | 38a6be525460f52ac6f2de1c3f73c5615a8853cd (patch) | |
tree | 3427f05ecb70eb50614bdc23de689a94e044db37 /lib/debugobjects.c | |
parent | x86,percpu: generalize lpage first chunk allocator (diff) | |
download | wireguard-linux-38a6be525460f52ac6f2de1c3f73c5615a8853cd.tar.xz wireguard-linux-38a6be525460f52ac6f2de1c3f73c5615a8853cd.zip |
percpu: simplify pcpu_setup_first_chunk()
Now that all first chunk allocator helpers allocate and map the first
chunk themselves, there's no need to have optional default alloc/map
in pcpu_setup_first_chunk(). Drop @populate_pte_fn and only leave
@dyn_size optional and make all other params mandatory.
This makes it much easier to follow what pcpu_setup_first_chunk() is
doing and what actual differences tweaking each parameter results in.
[ Impact: drop unused code path ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions