[parisc-linux-cvs] Big 2.4.14 showstopper fixed
Thomas Bogendoerfer
tsbogend@alpha.franken.de
Tue, 13 Nov 2001 02:14:32 +0100
Hi,
the patch below fixes the hanging 2.4.14 kernels after mounting root.
Thomas.
Index: memory.c
===================================================================
RCS file: /var/cvs/linux/mm/memory.c,v
retrieving revision 1.17
diff -u -r1.17 memory.c
--- memory.c 2001/11/09 23:37:20 1.17
+++ memory.c 2001/11/13 01:08:54
@@ -1221,7 +1221,7 @@
struct page * page = alloc_page(GFP_HIGHUSER);
if (!page)
return -1;
- copy_highpage(page, new_page);
+ copy_user_highpage(page, new_page, address);
page_cache_release(new_page);
lru_cache_add(page);
new_page = page;
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ Alexander Viro on linux-kernel ]