浏览代码

ieee1394: save one word in struct hpsb_host

hpsb_host.config_roms is a bitfield of which only one bit is currently
used.  hpsb_host.update_config_rom is only a Boolean.  Neither one is
accessed in hot code paths or with alignment requirements.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Stefan Richter 18 年之前
父节点
当前提交
d06170a9ba
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/ieee1394/hosts.h

+ 2 - 2
drivers/ieee1394/hosts.h

@@ -61,9 +61,9 @@ struct hpsb_host {
 	struct device device;
 	struct device device;
 	struct class_device class_dev;
 	struct class_device class_dev;
 
 
-	int update_config_rom;
 	struct delayed_work delayed_reset;
 	struct delayed_work delayed_reset;
-	unsigned int config_roms;
+	unsigned config_roms:31;
+	unsigned update_config_rom:1;
 
 
 	struct list_head addr_space;
 	struct list_head addr_space;
 	u64 low_addr_space;	/* upper bound of physical DMA area */
 	u64 low_addr_space;	/* upper bound of physical DMA area */