sh: fix pg-sh4.c build breakage in linux-next
authorMagnus Damm <magnus.damm@gmail.com>
Sat, 5 Jul 2008 03:33:30 +0000 (12:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:34 +0000 (18:10 +0900)
Remove inline from ptep_get_and_clean() to match with header file prototype.
Makes linux-next build.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/pg-sh4.c

index 8c7a9ca79879aef2de7de1f253a6e8c8b5969121..38870e0fc182af3347ed90986d9fb3b31578fadb 100644 (file)
@@ -111,7 +111,7 @@ EXPORT_SYMBOL(copy_user_highpage);
 /*
  * For SH-4, we have our own implementation for ptep_get_and_clear
  */
-inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
+pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
 {
        pte_t pte = *ptep;