Skip to content

Commit

Permalink
[IA64] fix IO_SPACE_SPARSE_ENCODING macro ambiguity
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas authored and Tony Luck committed Aug 24, 2005
1 parent 38d26b9 commit b5f3616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-ia64/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit b5f3616

Please sign in to comment.