patch-2.4.25 linux-2.4.25/include/asm-m68k/pgalloc.h

Next file: linux-2.4.25/include/asm-m68k/pgtable.h
Previous file: linux-2.4.25/include/asm-m68k/pci.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-m68k/pgalloc.h linux-2.4.25/include/asm-m68k/pgalloc.h
@@ -83,21 +83,20 @@
 
 #define flush_cache_all() __flush_cache_all()
 
-extern inline void flush_cache_mm(struct mm_struct *mm)
+static inline void flush_cache_mm(struct mm_struct *mm)
 {
 	if (mm == current->mm)
 		__flush_cache_030();
 }
 
-extern inline void flush_cache_range(struct mm_struct *mm,
-				     unsigned long start,
+static inline void flush_cache_range(struct mm_struct *mm, unsigned long start,
 				     unsigned long end)
 {
 	if (mm == current->mm)
 	        __flush_cache_030();
 }
 
-extern inline void flush_cache_page(struct vm_area_struct *vma,
+static inline void flush_cache_page(struct vm_area_struct *vma,
 				    unsigned long vmaddr)
 {
 	if (vma->vm_mm == current->mm)
@@ -107,7 +106,7 @@
 /* Push the page at kernel virtual address and clear the icache */
 /* RZ: use cpush %bc instead of cpush %dc, cinv %ic */
 #define flush_page_to_ram(page) __flush_page_to_ram((unsigned long) page_address(page))
-extern inline void __flush_page_to_ram(unsigned long address)
+static inline void __flush_page_to_ram(unsigned long address)
 {
 	if (CPU_IS_040_OR_060) {
 		__asm__ __volatile__("nop\n\t"

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)