git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
m32r
/
kernel
/
io_usrv.c
diff --git
a/arch/m32r/kernel/io_usrv.c
b/arch/m32r/kernel/io_usrv.c
index
cc77ced
..
27928a0
100644
(file)
--- a/
arch/m32r/kernel/io_usrv.c
+++ b/
arch/m32r/kernel/io_usrv.c
@@
-178,7
+178,8
@@
void _insb(unsigned int port, void * addr, unsigned long count)
else {
unsigned char *buf = addr;
unsigned char *portp = PORT2ADDR(port);
else {
unsigned char *buf = addr;
unsigned char *portp = PORT2ADDR(port);
- while(count--) *buf++ = *(volatile unsigned char *)portp;
+ while (count--)
+ *buf++ = *(volatile unsigned char *)portp;
}
}
}
}
@@
-192,7
+193,8
@@
void _insw(unsigned int port, void * addr, unsigned long count)
1);
else {
portp = PORT2ADDR(port);
1);
else {
portp = PORT2ADDR(port);
- while (count--) *buf++ = *(volatile unsigned short *)portp;
+ while (count--)
+ *buf++ = *(volatile unsigned short *)portp;
}
}
}
}