Commit 57481261 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: fix __pud_alloc definition to match the declaration

Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4320b106
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#define __UM_PGTABLE_H #define __UM_PGTABLE_H
#include "linux/sched.h" #include "linux/sched.h"
#include "linux/linkage.h"
#include "asm/processor.h" #include "asm/processor.h"
#include "asm/page.h" #include "asm/page.h"
#include "asm/fixmap.h" #include "asm/fixmap.h"
...@@ -154,8 +155,8 @@ extern pte_t * __bad_pagetable(void); ...@@ -154,8 +155,8 @@ extern pte_t * __bad_pagetable(void);
#define pud_newpage(x) (pud_val(x) & _PAGE_NEWPAGE) #define pud_newpage(x) (pud_val(x) & _PAGE_NEWPAGE)
#define pud_mkuptodate(x) (pud_val(x) &= ~_PAGE_NEWPAGE) #define pud_mkuptodate(x) (pud_val(x) &= ~_PAGE_NEWPAGE)
static inline pud_t *__pud_alloc(struct mm_struct *mm, pgd_t *pgd, static inline pud_t fastcall *__pud_alloc(struct mm_struct *mm, pgd_t *pgd,
unsigned long addr) unsigned long addr)
{ {
BUG(); BUG();
} }
......
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