Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] v850: call init_page_count() instead of set_page_count()

Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Miles Bader and committed by
Linus Torvalds
a268cefe 66f6b24b

+3 -3
+3 -3
arch/v850/kernel/setup.c
··· 1 1 /* 2 2 * arch/v850/kernel/setup.c -- Arch-dependent initialization functions 3 3 * 4 - * Copyright (C) 2001,02,03,05 NEC Electronics Corporation 5 - * Copyright (C) 2001,02,03,05 Miles Bader <miles@gnu.org> 4 + * Copyright (C) 2001,02,03,05,06 NEC Electronics Corporation 5 + * Copyright (C) 2001,02,03,05,06 Miles Bader <miles@gnu.org> 6 6 * 7 7 * This file is subject to the terms and conditions of the GNU General 8 8 * Public License. See the file COPYING in the main directory of this ··· 190 190 for (addr = start; addr < end; addr += PAGE_SIZE) { 191 191 struct page *page = virt_to_page (addr); 192 192 ClearPageReserved (page); 193 - set_page_count (page, 1); 193 + init_page_count (page); 194 194 __free_page (page); 195 195 total_ram_pages++; 196 196 }