Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99446
b: refs/heads/master
c: 330fce2
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed May 12, 2008
1 parent b7c9d92 commit 54efab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 55c0d721df80dcc505dc888e85d4ca51ea150ce9
refs/heads/master: 330fce23dab6e6a3d1979e55f27aba4c0c301331
5 changes: 1 addition & 4 deletions trunk/arch/x86/kernel/pci-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,14 @@ void __init dma32_reserve_bootmem(void)
}
static void __init dma32_free_bootmem(void)
{
int node;

if (end_pfn <= MAX_DMA32_PFN)
return;

if (!dma32_bootmem_ptr)
return;

for_each_online_node(node)
free_bootmem_node(NODE_DATA(node), __pa(dma32_bootmem_ptr),
dma32_bootmem_size);
free_bootmem(__pa(dma32_bootmem_ptr), dma32_bootmem_size);

dma32_bootmem_ptr = NULL;
dma32_bootmem_size = 0;
Expand Down

0 comments on commit 54efab3

Please sign in to comment.