Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22474
b: refs/heads/master
c: 70dc991
h: refs/heads/master
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Mar 22, 2006
1 parent b303234 commit ef727ac
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 84097518d1ecd2330f9488e4c2d09953a3340e74
refs/heads/master: 70dc991d66cac40fdb07346dba2b5d862d732c34
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ EXPORT_SYMBOL(phys_mem_access_prot);
void online_page(struct page *page)
{
ClearPageReserved(page);
set_page_count(page, 0);
free_cold_page(page);
set_page_count(page, 1);
__free_page(page);
totalram_pages++;
num_physpages++;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/um/kernel/physmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ int init_maps(unsigned long physmem, unsigned long iomem, unsigned long highmem)

for(i = 0; i < total_pages; i++){
p = &map[i];
set_page_count(p, 0);
memset(p, 0, sizeof(struct page));
SetPageReserved(p);
INIT_LIST_HEAD(&p->lru);
}
Expand Down

0 comments on commit ef727ac

Please sign in to comment.