Skip to content

Commit

Permalink
[PATCH] v850: call init_page_count() instead of set_page_count()
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Miles Bader authored and Linus Torvalds committed Jul 31, 2006
1 parent 66f6b24 commit a268cef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/v850/kernel/setup.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* arch/v850/kernel/setup.c -- Arch-dependent initialization functions
*
* Copyright (C) 2001,02,03,05 NEC Electronics Corporation
* Copyright (C) 2001,02,03,05 Miles Bader <miles@gnu.org>
* Copyright (C) 2001,02,03,05,06 NEC Electronics Corporation
* Copyright (C) 2001,02,03,05,06 Miles Bader <miles@gnu.org>
*
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
Expand Down Expand Up @@ -190,7 +190,7 @@ void free_initmem (void)
for (addr = start; addr < end; addr += PAGE_SIZE) {
struct page *page = virt_to_page (addr);
ClearPageReserved (page);
set_page_count (page, 1);
init_page_count (page);
__free_page (page);
total_ram_pages++;
}
Expand Down

0 comments on commit a268cef

Please sign in to comment.