summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-10-03 14:12:16 -0700
committerIan Romanick <idr@us.ibm.com>2007-10-03 14:12:16 -0700
commit0379919e99542bc50cf9d0a8a3996b2896ec4e64 (patch)
tree209d6c4f4f4530b52ac2d7b614262ad55dcd85f4
parent7f99fd5d7aa1f0d2463907d9d8c483b6249ac831 (diff)
Use 'ifdef __BIG_ENDIAN' instead of 'if __BIG_ENDIAN'
-rw-r--r--linux-core/xgi_cmdlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/xgi_cmdlist.c b/linux-core/xgi_cmdlist.c
index 35f7e1bd..c25b0e0d 100644
--- a/linux-core/xgi_cmdlist.c
+++ b/linux-core/xgi_cmdlist.c
@@ -98,7 +98,7 @@ int xgi_submit_cmdlist(struct drm_device * dev, void * data,
const struct xgi_cmd_info *const pCmdInfo =
(struct xgi_cmd_info *) data;
const unsigned int cmd = get_batch_command(pCmdInfo->type);
-#if __BIG_ENDIAN
+#ifdef __BIG_ENDIAN
const u32 *const ptr = xgi_find_pcie_virt(info, pCmdInfo->hw_addr);
unsigned i;
unsigned j;