]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ieee1394: save one word in struct hpsb_host
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 7 Jan 2007 20:51:48 +0000 (21:51 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 8 Feb 2007 19:59:27 +0000 (20:59 +0100)
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>
drivers/ieee1394/hosts.h

index 3922f0e88526df052dcbe1c66cdfa49f545869c5..4bf4fb7f67b741dc12471c92f899aa433307ef13 100644 (file)
@@ -61,9 +61,9 @@ struct hpsb_host {
        struct device device;
        struct class_device class_dev;
 
-       int update_config_rom;
        struct delayed_work delayed_reset;
-       unsigned int config_roms;
+       unsigned config_roms:31;
+       unsigned update_config_rom:1;
 
        struct list_head addr_space;
        u64 low_addr_space;     /* upper bound of physical DMA area */