diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-04-16 14:48:08 -0700 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-16 14:49:25 -0700 |
commit | c14c73728b8feb01d9142f9241bf14601cfb86f7 (patch) | |
tree | 53ad06709065e99140e4ebf3f79addb486c4db8c /drivers/net | |
parent | 50c1e9a9e3b086465b1467d448c10f7fa1e0eb5c (diff) | |
download | lwn-c14c73728b8feb01d9142f9241bf14601cfb86f7.tar.gz lwn-c14c73728b8feb01d9142f9241bf14601cfb86f7.zip |
iwlwifi: optimize struct iwl_cmd_meta layout
Having a u32 before a potential 64-bit value is
not very efficient, move it last.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h index 6704dab42326..f98eff3abb13 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h @@ -139,10 +139,10 @@ struct iwl_cmd_meta { /* only for SYNC commands, iff the reply skb is wanted */ struct iwl_host_cmd *source; - u32 flags; - DEFINE_DMA_UNMAP_ADDR(mapping); DEFINE_DMA_UNMAP_LEN(len); + + u32 flags; }; /* |