Commit ee064e64 authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Linus Torvalds

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

pud needs to be declared as a pud_t in order to avoid an assignment from
incompatible pointer type warning or two; this patch makes it so.
Signed-off-by: default avatarWilliam Irwin <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 293fc7a5
...@@ -41,7 +41,7 @@ static int use_sysenter = -1; ...@@ -41,7 +41,7 @@ static int use_sysenter = -1;
int __map_syscall32(struct mm_struct *mm, unsigned long address) int __map_syscall32(struct mm_struct *mm, unsigned long address)
{ {
pgd_t *pgd; pgd_t *pgd;
pgd_t *pud; pud_t *pud;
pte_t *pte; pte_t *pte;
pmd_t *pmd; pmd_t *pmd;
int err = -ENOMEM; int err = -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment