[PATCH 8/10] UML - Fix __pud_alloc definition to match the declaration

From: Jeff Dike
Date: Sun Jan 16 2005 - 22:49:05 EST


Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

Index: 2.6.10/include/asm-um/pgtable.h
===================================================================
--- 2.6.10.orig/include/asm-um/pgtable.h 2005-01-13 18:35:22.000000000 -0500
+++ 2.6.10/include/asm-um/pgtable.h 2005-01-13 19:11:25.000000000 -0500
@@ -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 @@
#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();
}

-
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/