Use 'ifdef __BIG_ENDIAN' instead of 'if __BIG_ENDIAN'
parent
7f99fd5d7a
commit
0379919e99
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue