From: Stefan Richter Date: Sun, 7 Jan 2007 20:51:48 +0000 (+0100) Subject: ieee1394: save one word in struct hpsb_host X-Git-Tag: v2.6.21-rc1~76^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d06170a9ba9c39ac0768676e268cb17f9f68a622;p=linux-2.6 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 --- diff --git a/drivers/ieee1394/hosts.h b/drivers/ieee1394/hosts.h index 3922f0e885..4bf4fb7f67 100644 --- a/drivers/ieee1394/hosts.h +++ b/drivers/ieee1394/hosts.h @@ -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 */