Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311854
b: refs/heads/master
c: 4403310
h: refs/heads/master
v: v3
  • Loading branch information
Corey Minyard authored and Paul Mundt committed Jul 12, 2012
1 parent a0d85ca commit f5d4c10
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 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: 64941d8930e619ef37227f88c6ee17e2624c65d2
refs/heads/master: 44033109e99cf584d6285226ed521098f5ef7250
17 changes: 14 additions & 3 deletions trunk/arch/sh/include/asm/io_noioport.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,20 @@ static inline u32 inl(unsigned long addr)
return -1;
}

#define outb(x, y) BUG()
#define outw(x, y) BUG()
#define outl(x, y) BUG()
static inline void outb(unsigned char x, unsigned long port)
{
BUG();
}

static inline void outw(unsigned short x, unsigned long port)
{
BUG();
}

static inline void outl(unsigned int x, unsigned long port)
{
BUG();
}

#define inb_p(addr) inb(addr)
#define inw_p(addr) inw(addr)
Expand Down

0 comments on commit f5d4c10

Please sign in to comment.