]> git.hungrycats.org Git - linux/commitdiff
[PATCH] uml: fix __pud_alloc definition to match the declaration
authorJeff Dike <jdike@addtoit.com>
Fri, 21 Jan 2005 00:02:57 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 21 Jan 2005 00:02:57 +0000 (16:02 -0800)
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-um/pgtable.h

index 7f980a262334bed1f5fd9a9c3609dad2f411d978..54d7267508db4f0aa1c0bf02a48ff1f239721b91 100644 (file)
@@ -9,6 +9,7 @@
 #define __UM_PGTABLE_H
 
 #include "linux/sched.h"
+#include "linux/linkage.h"
 #include "asm/processor.h"
 #include "asm/page.h"
 #include "asm/fixmap.h"
@@ -154,8 +155,8 @@ extern pte_t * __bad_pagetable(void);
 #define pud_newpage(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,
-                                unsigned long addr)
+static inline pud_t fastcall *__pud_alloc(struct mm_struct *mm, pgd_t *pgd,
+                                         unsigned long addr)
 {
        BUG();
 }