Use 'ifdef __BIG_ENDIAN' instead of 'if __BIG_ENDIAN'

main
Ian Romanick 2007-10-03 14:12:16 -07:00
parent 7f99fd5d7a
commit 0379919e99
1 changed files with 1 additions and 1 deletions

View File

@ -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;