From 8f1ec623b331e8c31d0b13ab75c11a7bc3002e45 Mon Sep 17 00:00:00 2001 From: Leo Dagum Date: Fri, 7 Apr 2000 00:30:51 +0000 Subject: Minor cleanup to get rid of annoying compile time warning. --- include/asm-mips64/io.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') 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) ? \ -- cgit v1.2.3