]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
iwlwifi: optimize struct iwl_cmd_meta layout
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 Apr 2012 21:48:08 +0000 (14:48 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 16 Apr 2012 21:49:25 +0000 (14:49 -0700)
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>
drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h

index 6704dab4232633f450aa4772ad3f5147abe27c91..f98eff3abb13a83970b15a3ba456d28e41c31e78 100644 (file)
@@ -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;
 };
 
 /*