Skip to contentSkip to conversation

UML - Fix __pud_alloc definition to match the declaration

PATCH In review Jeff Dike 1 participant 1 message Jan 17, 2005

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

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

include/asm-um/pgtable.h +3 -2
Index: 2.6.10/include/asm-um/pgtable.h
===================================================================
@@ -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();
 }