diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2005-08-23 20:24:00 +0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-08-25 01:55:09 +0400 |
commit | b5f3616ba73699d07deee1f244179fae49502052 (patch) | |
tree | 22081641f3873ec2f7632005357be03ca1468e3d /include | |
parent | 38d26b9f577ec63ba64926c45f4ee3805ed2041c (diff) | |
download | linux-b5f3616ba73699d07deee1f244179fae49502052.tar.xz |
[IA64] fix IO_SPACE_SPARSE_ENCODING macro ambiguity
Parenthesize "p" to avoid ambiguity. No callers have a problem today;
this is just to clean up the bad form.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ia64/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/io.h b/include/asm-ia64/io.h index 54e7637a326c..a2f92edd717d 100644 --- a/include/asm-ia64/io.h +++ b/include/asm-ia64/io.h @@ -41,7 +41,7 @@ #define IO_SPACE_BASE(space) ((space) << IO_SPACE_BITS) #define IO_SPACE_PORT(port) ((port) & (IO_SPACE_SIZE - 1)) -#define IO_SPACE_SPARSE_ENCODING(p) ((((p) >> 2) << 12) | (p & 0xfff)) +#define IO_SPACE_SPARSE_ENCODING(p) ((((p) >> 2) << 12) | ((p) & 0xfff)) struct io_space { unsigned long mmio_base; /* base in MMIO space */ |