提交 0efb7134 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] m68k: bogus function argument types (sun3_pgtable.h)

function arguments can't be inline, TYVM...
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 7f263338
...@@ -211,7 +211,7 @@ static inline unsigned long pte_to_pgoff(pte_t pte) ...@@ -211,7 +211,7 @@ static inline unsigned long pte_to_pgoff(pte_t pte)
return pte.pte & SUN3_PAGE_PGNUM_MASK; 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 }; pte_t pte = { off + SUN3_PAGE_ACCESSED };
return pte; return pte;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册