Commit 17a55f79 authored by Alexander Chiang's avatar Alexander Chiang Committed by Roland Dreier

IB/core: Pack struct ib_device a little tighter

A small change to reduce the size of ib_device to 1112 bytes
(from 1128).
Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent cdb8e438
...@@ -984,9 +984,9 @@ struct ib_device { ...@@ -984,9 +984,9 @@ struct ib_device {
struct list_head event_handler_list; struct list_head event_handler_list;
spinlock_t event_handler_lock; spinlock_t event_handler_lock;
spinlock_t client_data_lock;
struct list_head core_list; struct list_head core_list;
struct list_head client_data_list; struct list_head client_data_list;
spinlock_t client_data_lock;
struct ib_cache cache; struct ib_cache cache;
int *pkey_tbl_len; int *pkey_tbl_len;
...@@ -1144,8 +1144,8 @@ struct ib_device { ...@@ -1144,8 +1144,8 @@ struct ib_device {
IB_DEV_UNREGISTERED IB_DEV_UNREGISTERED
} reg_state; } reg_state;
u64 uverbs_cmd_mask;
int uverbs_abi_ver; int uverbs_abi_ver;
u64 uverbs_cmd_mask;
char node_desc[64]; char node_desc[64];
__be64 node_guid; __be64 node_guid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment