diff options
author | Arnd Bergmann <arnd@arndb.de> | 2005-12-05 22:52:22 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 14:52:45 +1100 |
commit | d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e (patch) | |
tree | 13e4e65d3275a275913b14b12b49dbe987789334 /arch/powerpc/platforms/cell/setup.c | |
parent | 39c73c332c8264c0a3a1ce58aa3eae52d17af025 (diff) | |
download | kernel_samsung_smdk4412-d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e.zip kernel_samsung_smdk4412-d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e.tar.gz kernel_samsung_smdk4412-d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e.tar.bz2 |
[PATCH] spufs: fix local store page refcounting
With the new rules for reserved pages, the spufs now
needs working page reference counting.
I should probably look into converting to vm_insert_page,
but for now this patch makes spufs work again.
Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/setup.c')
-rw-r--r-- | arch/powerpc/platforms/cell/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c index 56273e5..c41a6e2 100644 --- a/arch/powerpc/platforms/cell/setup.c +++ b/arch/powerpc/platforms/cell/setup.c @@ -114,7 +114,7 @@ static void __init cell_spuprop_present(struct device_node *spe, for (pfn = start_pfn; pfn < end_pfn; pfn++) { struct page *page = pfn_to_page(pfn); set_page_links(page, ZONE_DMA, node_id, pfn); - set_page_count(page, 0); + set_page_count(page, 1); reset_page_mapcount(page); SetPageReserved(page); INIT_LIST_HEAD(&page->lru); |