lkml.org 
[lkml]   [2006]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] v850: Call init_page_count instead of set_page_count
From
Date
Signed-off-by: Miles Bader <miles@gnu.org>

arch/v850/kernel/setup.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff -ruN -X../cludes linux-2.6.17-uc0/arch/v850/kernel/setup.c linux-2.6.17-uc0-v850-20060718/arch/v850/kernel/setup.c
--- linux-2.6.17-uc0/arch/v850/kernel/setup.c 2005-11-07 15:06:27.000000000 +0900
+++ linux-2.6.17-uc0-v850-20060718/arch/v850/kernel/setup.c 2006-07-18 14:52:39.237567000 +0900
@@ -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
@@ -190,7 +190,7 @@
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++;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-07-19 10:37    [W:0.053 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site