Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136970
b: refs/heads/master
c: 24ff954
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Feb 25, 2009
1 parent eb82951 commit bea8892
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0edcf8d6926f4038443dbc24e319530177ca0353
refs/heads/master: 24ff954233ecfd45801383f831626f88937ebe6f
4 changes: 1 addition & 3 deletions trunk/arch/x86/kernel/setup_percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static ssize_t __init setup_pcpu_embed(size_t static_size)

/* allocate and copy */
pcpue_unit_size = PFN_ALIGN(static_size + PERCPU_DYNAMIC_RESERVE);
pcpue_unit_size = max(pcpue_unit_size, PCPU_MIN_UNIT_SIZE);
pcpue_unit_size = max_t(size_t, pcpue_unit_size, PCPU_MIN_UNIT_SIZE);
pcpue_ptr = pcpu_alloc_bootmem(0, num_possible_cpus() * pcpue_unit_size,
PAGE_SIZE);
if (!pcpue_ptr)
Expand Down Expand Up @@ -438,8 +438,6 @@ void __init setup_per_cpu_areas(void)
*/
if (cpu == boot_cpu_id)
switch_to_new_gdt(cpu);

DBG("PERCPU: cpu %4d %p\n", cpu, ptr);
}

/* indicate the early static arrays will soon be gone */
Expand Down

0 comments on commit bea8892

Please sign in to comment.