Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42320
b: refs/heads/master
c: 4cfbdff
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Paul Mackerras committed Dec 4, 2006
1 parent 94d028e commit 3197254
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28f9ec349ae47c91768b7bc5607db4442c818e11
refs/heads/master: 4cfbdfff70989a0d99b6f357fbbe379c22a05f7c
4 changes: 2 additions & 2 deletions trunk/include/asm-powerpc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ static inline void __raw_writeq(unsigned long v, volatile void __iomem *addr)
#ifdef CONFIG_PPC32

#define __do_in_asm(name, op) \
extern __inline__ unsigned int name(unsigned int port) \
static inline unsigned int name(unsigned int port) \
{ \
unsigned int x; \
__asm__ __volatile__( \
Expand All @@ -329,7 +329,7 @@ extern __inline__ unsigned int name(unsigned int port) \
}

#define __do_out_asm(name, op) \
extern __inline__ void name(unsigned int val, unsigned int port) \
static inline void name(unsigned int val, unsigned int port) \
{ \
__asm__ __volatile__( \
"sync\n" \
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-powerpc/tsi108.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ typedef struct {
extern u32 get_vir_csrbase(void);
extern u32 tsi108_csr_vir_base;

extern inline u32 tsi108_read_reg(u32 reg_offset)
static inline u32 tsi108_read_reg(u32 reg_offset)
{
return in_be32((volatile u32 *)(tsi108_csr_vir_base + reg_offset));
}

extern inline void tsi108_write_reg(u32 reg_offset, u32 val)
static inline void tsi108_write_reg(u32 reg_offset, u32 val)
{
out_be32((volatile u32 *)(tsi108_csr_vir_base + reg_offset), val);
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-powerpc/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ extern unsigned long __copy_tofrom_user(void __user *to,

#ifndef __powerpc64__

extern inline unsigned long copy_from_user(void *to,
static inline unsigned long copy_from_user(void *to,
const void __user *from, unsigned long n)
{
unsigned long over;
Expand All @@ -319,7 +319,7 @@ extern inline unsigned long copy_from_user(void *to,
return n;
}

extern inline unsigned long copy_to_user(void __user *to,
static inline unsigned long copy_to_user(void __user *to,
const void *from, unsigned long n)
{
unsigned long over;
Expand Down

0 comments on commit 3197254

Please sign in to comment.