From 25f09dd9c5e6acee93553e795bb5e8ee4af09239 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Wed, 6 Dec 2006 20:40:22 -0800 Subject: [PATCH] --- yaml --- r: 42944 b: refs/heads/master c: 219576e127c4f7770aa985f719e815936bc54367 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-h8300/delay.h | 4 ++-- trunk/include/asm-h8300/mmu_context.h | 4 ++-- trunk/include/asm-h8300/pci.h | 4 ++-- trunk/include/asm-h8300/tlbflush.h | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/[refs] b/[refs] index a05965f5d6a8..922789917a4d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bb8cc641653d785e3f3b8d3b0182a69edf825802 +refs/heads/master: 219576e127c4f7770aa985f719e815936bc54367 diff --git a/trunk/include/asm-h8300/delay.h b/trunk/include/asm-h8300/delay.h index cbccbbdd640f..743beba70f82 100644 --- a/trunk/include/asm-h8300/delay.h +++ b/trunk/include/asm-h8300/delay.h @@ -9,7 +9,7 @@ * Delay routines, using a pre-computed "loops_per_second" value. */ -extern __inline__ void __delay(unsigned long loops) +static inline void __delay(unsigned long loops) { __asm__ __volatile__ ("1:\n\t" "dec.l #1,%0\n\t" @@ -27,7 +27,7 @@ extern __inline__ void __delay(unsigned long loops) extern unsigned long loops_per_jiffy; -extern __inline__ void udelay(unsigned long usecs) +static inline void udelay(unsigned long usecs) { usecs *= 4295; /* 2**32 / 1000000 */ usecs /= (loops_per_jiffy*HZ); diff --git a/trunk/include/asm-h8300/mmu_context.h b/trunk/include/asm-h8300/mmu_context.h index 855721a5dcc9..5c165f7bee0e 100644 --- a/trunk/include/asm-h8300/mmu_context.h +++ b/trunk/include/asm-h8300/mmu_context.h @@ -9,7 +9,7 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) { } -extern inline int +static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm) { // mm->context = virt_to_phys(mm->pgd); @@ -23,7 +23,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, str { } -extern inline void activate_mm(struct mm_struct *prev_mm, +static inline void activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) { } diff --git a/trunk/include/asm-h8300/pci.h b/trunk/include/asm-h8300/pci.h index 5edad5b70fd5..0c771b05fdd5 100644 --- a/trunk/include/asm-h8300/pci.h +++ b/trunk/include/asm-h8300/pci.h @@ -10,12 +10,12 @@ #define pcibios_assign_all_busses() 0 #define pcibios_scan_all_fns(a, b) 0 -extern inline void pcibios_set_master(struct pci_dev *dev) +static inline void pcibios_set_master(struct pci_dev *dev) { /* No special bus mastering setup handling */ } -extern inline void pcibios_penalize_isa_irq(int irq, int active) +static inline void pcibios_penalize_isa_irq(int irq, int active) { /* We don't do dynamic PCI IRQ allocation */ } diff --git a/trunk/include/asm-h8300/tlbflush.h b/trunk/include/asm-h8300/tlbflush.h index bbdffbeeedef..9a2c5c9fd700 100644 --- a/trunk/include/asm-h8300/tlbflush.h +++ b/trunk/include/asm-h8300/tlbflush.h @@ -47,12 +47,12 @@ static inline void flush_tlb_range(struct mm_struct *mm, BUG(); } -extern inline void flush_tlb_kernel_page(unsigned long addr) +static inline void flush_tlb_kernel_page(unsigned long addr) { BUG(); } -extern inline void flush_tlb_pgtables(struct mm_struct *mm, +static inline void flush_tlb_pgtables(struct mm_struct *mm, unsigned long start, unsigned long end) { BUG();