[4/8] fix arch/x86_64/ia32/syscall32.c misdeclared pud variable

From: William Lee Irwin III
Date: Mon Jan 03 2005 - 12:43:17 EST


This __map_syscall32() gets an assignment from incompatible pointer type
warning; the following patch kills it by declaring the pud variable as a
pud_t as is necessary.

Signed-off-by: William Irwin <wli@xxxxxxxxxxxxxx>

Index: mm1-2.6.10/arch/x86_64/ia32/syscall32.c
===================================================================
--- mm1-2.6.10.orig/arch/x86_64/ia32/syscall32.c 2005-01-03 06:44:20.000000000 -0800
+++ mm1-2.6.10/arch/x86_64/ia32/syscall32.c 2005-01-03 07:56:06.000000000 -0800
@@ -41,7 +41,7 @@
int __map_syscall32(struct mm_struct *mm, unsigned long address)
{
pgd_t *pgd;
- pgd_t *pud;
+ pud_t *pud;
pte_t *pte;
pmd_t *pmd;
int err = -ENOMEM;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/