[alpha] don't return from void functions
Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
34eddbbb73
commit
46785c04bc
|
@ -94,28 +94,34 @@ writeDense32(int Value, pointer Base, register unsigned long Offset)
|
||||||
void
|
void
|
||||||
_dense_outb(char val, unsigned long port)
|
_dense_outb(char val, unsigned long port)
|
||||||
{
|
{
|
||||||
if ((port & ~0xffff) == 0) return _outb(val, port);
|
if ((port & ~0xffff) == 0) {
|
||||||
|
_outb(val, port);
|
||||||
|
} else {
|
||||||
write_mem_barrier();
|
write_mem_barrier();
|
||||||
*(volatile CARD8 *)port = val;
|
*(volatile CARD8 *)port = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_dense_outw(short val, unsigned long port)
|
_dense_outw(short val, unsigned long port)
|
||||||
{
|
{
|
||||||
if ((port & ~0xffff) == 0) return _outw(val, port);
|
if ((port & ~0xffff) == 0) {
|
||||||
|
_outw(val, port);
|
||||||
|
} else {
|
||||||
write_mem_barrier();
|
write_mem_barrier();
|
||||||
*(volatile CARD16 *)port = val;
|
*(volatile CARD16 *)port = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_dense_outl(int val, unsigned long port)
|
_dense_outl(int val, unsigned long port)
|
||||||
{
|
{
|
||||||
if ((port & ~0xffff) == 0) return _outl(val, port);
|
if ((port & ~0xffff) == 0) {
|
||||||
|
_outl(val, port);
|
||||||
|
} else {
|
||||||
write_mem_barrier();
|
write_mem_barrier();
|
||||||
*(volatile CARD32 *)port = val;
|
*(volatile CARD32 *)port = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int
|
unsigned int
|
||||||
|
|
Loading…
Reference in New Issue