aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-01-07 15:51:48 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-02-08 14:59:27 -0500
commitd06170a9ba9c39ac0768676e268cb17f9f68a622 (patch)
tree6bc637809917b95f1c3f168c762f6b55d2b72946 /drivers
parent3360177c62e86f476c4f1a057e13163383652f7b (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ieee1394/hosts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/hosts.h b/drivers/ieee1394/hosts.h
index 3922f0e88526..4bf4fb7f67b7 100644
--- a/drivers/ieee1394/hosts.h
+++ b/drivers/ieee1394/hosts.h
@@ -61,9 +61,9 @@ struct hpsb_host {
61 struct device device; 61 struct device device;
62 struct class_device class_dev; 62 struct class_device class_dev;
63 63
64 int update_config_rom;
65 struct delayed_work delayed_reset; 64 struct delayed_work delayed_reset;
66 unsigned int config_roms; 65 unsigned config_roms:31;
66 unsigned update_config_rom:1;
67 67
68 struct list_head addr_space; 68 struct list_head addr_space;
69 u64 low_addr_space; /* upper bound of physical DMA area */ 69 u64 low_addr_space; /* upper bound of physical DMA area */