Skip to content

Commit

Permalink
Support 64bit too
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Hu committed May 8, 2012
1 parent a086081 commit 16d6723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc-progs/inp.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

char *prgname;

#ifdef __i386__
#if defined(__i386__) || defined(__x86_64__)
static int read_and_print_one(unsigned int port,int size)
{
static int iopldone = 0;
Expand Down
2 changes: 1 addition & 1 deletion misc-progs/outp.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

char *prgname;

#ifdef __i386__
#if defined(__i386__) || defined(__x86_64__)
static int write_one(unsigned int port, unsigned int val, int size)
{
static int iopldone = 0;
Expand Down

0 comments on commit 16d6723

Please sign in to comment.