Skip to contentSkip to conversation

vmalloc.h needs pgprot_t

PATCH New Rusty Russell 1 participant 1 message Nov 4, 2002 vmalloc

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmalloc.h needs pgprot_t

Again, uncovered in PPC compile.

include/linux/vmalloc.h +1 -0
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .22822-2.5.45-bk-module-ppc.pre/include/linux/vmalloc.h .22822-2.5.45-bk-module-ppc/include/linux/vmalloc.h
@@ -2,6 +2,7 @@
 #define _LINUX_VMALLOC_H
 
 #include <linux/spinlock.h>
+#include <asm/page.h>		/* pgprot_t */
 
 /* bits in vm_struct->flags */
 #define VM_IOREMAP	0x00000001	/* ioremap() and friends */

--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.