From: Al Viro Date: Thu, 12 Jan 2006 09:06:20 +0000 (-0800) Subject: [PATCH] m68k: bogus function argument types (sun3_pgtable.h) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0efb71348249903c54e71f26927cfc94ba186dfb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [PATCH] m68k: bogus function argument types (sun3_pgtable.h) function arguments can't be inline, TYVM... Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-m68k/sun3_pgtable.h b/include/asm-m68k/sun3_pgtable.h index e974bb072047..5156a28a18d8 100644 --- a/include/asm-m68k/sun3_pgtable.h +++ b/include/asm-m68k/sun3_pgtable.h @@ -211,7 +211,7 @@ static inline unsigned long pte_to_pgoff(pte_t pte) return pte.pte & SUN3_PAGE_PGNUM_MASK; } -static inline pte_t pgoff_to_pte(inline unsigned off) +static inline pte_t pgoff_to_pte(unsigned off) { pte_t pte = { off + SUN3_PAGE_ACCESSED }; return pte;