diff options
author | Leo Dagum <dagum@engr.sgi.com> | 2000-04-07 00:30:51 +0000 |
---|---|---|
committer | Leo Dagum <dagum@engr.sgi.com> | 2000-04-07 00:30:51 +0000 |
commit | 8f1ec623b331e8c31d0b13ab75c11a7bc3002e45 (patch) | |
tree | 6fb7cd255c93a206fc88f7804bd19439353e1e42 /include | |
parent | e0442aa4bc531b00e1cbc296c72e7df6fad5913a (diff) |
Minor cleanup to get rid of annoying compile time warning.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips64/io.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-mips64/io.h b/include/asm-mips64/io.h index f09fea50d..82705b0f5 100644 --- a/include/asm-mips64/io.h +++ b/include/asm-mips64/io.h @@ -284,14 +284,14 @@ __OUTS(w,l,4) __inb_p(port)) #define outw(val,port) \ -((__builtin_constant_p((port^2)) && (port^2) < 32768) ? \ - __outwc((val),(port^2)) : \ - __outw((val),(port^2))) +((__builtin_constant_p(((port)^(2))) && ((port)^(2)) < 32768) ? \ + __outwc((val),((port)^(2))) : \ + __outw((val),((port)^(2)))) #define inw(port) \ -((__builtin_constant_p((port^2)) && (port^2) < 32768) ? \ - __inwc(port^2) : \ - __inw(port^2)) +((__builtin_constant_p(((port)^(2))) && ((port)^(2)) < 32768) ? \ + __inwc((port)^(2)) : \ + __inw((port)^(2))) #define outw_p(val,port) \ ((__builtin_constant_p((port)) && (port) < 32768) ? \ |