[PATCH] vmalloc.h needs pgprot_t

Rusty Russell (rusty@rustcorp.com.au)
Mon, 04 Nov 2002 18:33:38 +1100


Again, uncovered in PPC compile.

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
--- .22822-2.5.45-bk-module-ppc.pre/include/linux/vmalloc.h 2002-08-28 09:29:53.000000000 +1000
+++ .22822-2.5.45-bk-module-ppc/include/linux/vmalloc.h 2002-11-04 18:28:53.000000000 +1100
@@ -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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/