Loading include/asm-v850/atomic.h +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ typedef struct { int counter; } atomic_t; #define atomic_read(v) ((v)->counter) #define atomic_set(v,i) (((v)->counter) = (i)) extern __inline__ int atomic_add_return (int i, volatile atomic_t *v) static inline int atomic_add_return (int i, volatile atomic_t *v) { unsigned long flags; int res; Loading include/asm-v850/bitops.h +3 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ * ffz = Find First Zero in word. Undefined if no zero exists, * so code should check against ~0UL first.. */ extern __inline__ unsigned long ffz (unsigned long word) static inline unsigned long ffz (unsigned long word) { unsigned long result = 0; Loading Loading @@ -135,7 +135,7 @@ extern __inline__ unsigned long ffz (unsigned long word) "m" (*((const char *)(addr) + ((nr) >> 3)))); \ __test_bit_res; \ }) extern __inline__ int __test_bit (int nr, const void *addr) static inline int __test_bit (int nr, const void *addr) { int res; __asm__ __volatile__ ("tst1 %1, [%2]; setf nz, %0" Loading @@ -157,7 +157,7 @@ extern __inline__ int __test_bit (int nr, const void *addr) #define find_first_zero_bit(addr, size) \ find_next_zero_bit ((addr), (size), 0) extern __inline__ int find_next_zero_bit(const void *addr, int size, int offset) static inline int find_next_zero_bit(const void *addr, int size, int offset) { unsigned long *p = ((unsigned long *) addr) + (offset >> 5); unsigned long result = offset & ~31UL; Loading include/asm-v850/delay.h +2 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ #include <asm/param.h> extern __inline__ void __delay(unsigned long loops) static inline void __delay(unsigned long loops) { if (loops) __asm__ __volatile__ ("1: add -1, %0; bnz 1b" Loading @@ -33,7 +33,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) { register unsigned long full_loops, part_loops; Loading include/asm-v850/hw_irq.h +1 −1 Original line number Diff line number Diff line #ifndef __V850_HW_IRQ_H__ #define __V850_HW_IRQ_H__ extern inline void hw_resend_irq (struct hw_interrupt_type *h, unsigned int i) static inline void hw_resend_irq (struct hw_interrupt_type *h, unsigned int i) { } Loading include/asm-v850/processor.h +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ struct thread_struct { /* Do necessary setup to start up a newly executed thread. */ extern inline void start_thread (struct pt_regs *regs, static inline void start_thread (struct pt_regs *regs, unsigned long pc, unsigned long usp) { regs->pc = pc; Loading @@ -68,7 +68,7 @@ extern inline void start_thread (struct pt_regs *regs, } /* Free all resources held by a thread. */ extern inline void release_thread (struct task_struct *dead_task) static inline void release_thread (struct task_struct *dead_task) { } Loading Loading
include/asm-v850/atomic.h +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ typedef struct { int counter; } atomic_t; #define atomic_read(v) ((v)->counter) #define atomic_set(v,i) (((v)->counter) = (i)) extern __inline__ int atomic_add_return (int i, volatile atomic_t *v) static inline int atomic_add_return (int i, volatile atomic_t *v) { unsigned long flags; int res; Loading
include/asm-v850/bitops.h +3 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ * ffz = Find First Zero in word. Undefined if no zero exists, * so code should check against ~0UL first.. */ extern __inline__ unsigned long ffz (unsigned long word) static inline unsigned long ffz (unsigned long word) { unsigned long result = 0; Loading Loading @@ -135,7 +135,7 @@ extern __inline__ unsigned long ffz (unsigned long word) "m" (*((const char *)(addr) + ((nr) >> 3)))); \ __test_bit_res; \ }) extern __inline__ int __test_bit (int nr, const void *addr) static inline int __test_bit (int nr, const void *addr) { int res; __asm__ __volatile__ ("tst1 %1, [%2]; setf nz, %0" Loading @@ -157,7 +157,7 @@ extern __inline__ int __test_bit (int nr, const void *addr) #define find_first_zero_bit(addr, size) \ find_next_zero_bit ((addr), (size), 0) extern __inline__ int find_next_zero_bit(const void *addr, int size, int offset) static inline int find_next_zero_bit(const void *addr, int size, int offset) { unsigned long *p = ((unsigned long *) addr) + (offset >> 5); unsigned long result = offset & ~31UL; Loading
include/asm-v850/delay.h +2 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ #include <asm/param.h> extern __inline__ void __delay(unsigned long loops) static inline void __delay(unsigned long loops) { if (loops) __asm__ __volatile__ ("1: add -1, %0; bnz 1b" Loading @@ -33,7 +33,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) { register unsigned long full_loops, part_loops; Loading
include/asm-v850/hw_irq.h +1 −1 Original line number Diff line number Diff line #ifndef __V850_HW_IRQ_H__ #define __V850_HW_IRQ_H__ extern inline void hw_resend_irq (struct hw_interrupt_type *h, unsigned int i) static inline void hw_resend_irq (struct hw_interrupt_type *h, unsigned int i) { } Loading
include/asm-v850/processor.h +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ struct thread_struct { /* Do necessary setup to start up a newly executed thread. */ extern inline void start_thread (struct pt_regs *regs, static inline void start_thread (struct pt_regs *regs, unsigned long pc, unsigned long usp) { regs->pc = pc; Loading @@ -68,7 +68,7 @@ extern inline void start_thread (struct pt_regs *regs, } /* Free all resources held by a thread. */ extern inline void release_thread (struct task_struct *dead_task) static inline void release_thread (struct task_struct *dead_task) { } Loading