summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2003-07-25 19:15:55 -0700
committerJens Axboe <axboe@suse.de>2003-07-25 19:15:55 -0700
commit70c59d696673b8c663760d3caf204bbbdea701d6 (patch)
treebd630dbda7d968ae9bc423815318f00f5aef6377 /include
parentf1dfa547b19a465e3587322451c96c55358aef7c (diff)
[PATCH] M68k inline
M68k: Kill erroneous `inline' (found by gcc 3.2)
Diffstat (limited to 'include')
-rw-r--r--include/asm-m68k/motorola_pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/motorola_pgtable.h b/include/asm-m68k/motorola_pgtable.h
index 73ddf2fcbb81..a92d63841e2a 100644
--- a/include/asm-m68k/motorola_pgtable.h
+++ b/include/asm-m68k/motorola_pgtable.h
@@ -263,7 +263,7 @@ static inline unsigned long pte_to_pgoff(pte_t pte)
return ((pte.pte >> 12) << 7) + ((pte.pte >> 2) & 0x1ff);
}
-static inline pte_t pgoff_to_pte(inline unsigned off)
+static inline pte_t pgoff_to_pte(unsigned off)
{
pte_t pte = { ((off >> 7) << 12) + ((off & 0x1ff) << 2) + _PAGE_FILE };
return pte;