patch-2.1.17 linux/include/linux/vmalloc.h

Next file: linux/include/linux/wireless.h
Previous file: linux/include/linux/trdevice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/include/linux/vmalloc.h linux/include/linux/vmalloc.h
@@ -20,6 +20,7 @@
 
 extern inline void set_pgdir(unsigned long address, pgd_t entry)
 {
+#ifndef __mc68000__
 	struct task_struct * p;
 
 	for_each_task(p) {
@@ -27,6 +28,7 @@
 			continue;
 		*pgd_offset(p->mm,address) = entry;
 	}
+#endif
 }
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov