diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-07 03:58:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:30 -0500 |
commit | d9b5444eeb3a663ca4a625878b1421c9e9b18e8b (patch) | |
tree | 6cc32711116977944043c54e0c196c75358916be /include/asm-cris/pgalloc.h | |
parent | 5f9c3cbcd5d41be597aef9c0ff64ebfc8a91cd6f (diff) |
[PATCH] cris: "extern inline" -> "static inline"
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-cris/pgalloc.h')
-rw-r--r-- | include/asm-cris/pgalloc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-cris/pgalloc.h b/include/asm-cris/pgalloc.h index a131776edf41..deaddfe79bbc 100644 --- a/include/asm-cris/pgalloc.h +++ b/include/asm-cris/pgalloc.h | |||
@@ -11,35 +11,35 @@ | |||
11 | * Allocate and free page tables. | 11 | * Allocate and free page tables. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | extern inline pgd_t *pgd_alloc (struct mm_struct *mm) | 14 | static inline pgd_t *pgd_alloc (struct mm_struct *mm) |
15 | { | 15 | { |
16 | return (pgd_t *)get_zeroed_page(GFP_KERNEL); | 16 | return (pgd_t *)get_zeroed_page(GFP_KERNEL); |
17 | } | 17 | } |
18 | 18 | ||
19 | extern inline void pgd_free (pgd_t *pgd) | 19 | static inline void pgd_free (pgd_t *pgd) |
20 | { | 20 | { |
21 | free_page((unsigned long)pgd); | 21 | free_page((unsigned long)pgd); |
22 | } | 22 | } |
23 | 23 | ||
24 | extern inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) | 24 | static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) |
25 | { | 25 | { |
26 | pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); | 26 | pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); |
27 | return pte; | 27 | return pte; |
28 | } | 28 | } |
29 | 29 | ||
30 | extern inline struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address) | 30 | static inline struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address) |
31 | { | 31 | { |
32 | struct page *pte; | 32 | struct page *pte; |
33 | pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0); | 33 | pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0); |
34 | return pte; | 34 | return pte; |
35 | } | 35 | } |
36 | 36 | ||
37 | extern inline void pte_free_kernel(pte_t *pte) | 37 | static inline void pte_free_kernel(pte_t *pte) |
38 | { | 38 | { |
39 | free_page((unsigned long)pte); | 39 | free_page((unsigned long)pte); |
40 | } | 40 | } |
41 | 41 | ||
42 | extern inline void pte_free(struct page *pte) | 42 | static inline void pte_free(struct page *pte) |
43 | { | 43 | { |
44 | __free_page(pte); | 44 | __free_page(pte); |
45 | } | 45 | } |