rhashtable: split rhashtable.h
authorNeilBrown <neilb@suse.com>
Mon, 18 Jun 2018 02:52:50 +0000 (12:52 +1000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jun 2018 04:43:27 +0000 (13:43 +0900)
commit0eb71a9da5796851fa87ddc1a534066c0fe54055
tree2e6a006f82122ffc983e89f74b5b702ae75799b9
parentcbab901296232b1247b46e6e127103d2f738d783
rhashtable: split rhashtable.h

Due to the use of rhashtables in net namespaces,
rhashtable.h is included in lots of the kernel,
so a small changes can required a large recompilation.
This makes development painful.

This patch splits out rhashtable-types.h which just includes
the major type declarations, and does not include (non-trivial)
inline code.  rhashtable.h is no longer included by anything
in the include/ directory.
Common include files only include rhashtable-types.h so a large
recompilation is only triggered when that changes.

Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
26 files changed:
MAINTAINERS
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
include/linux/ipc.h
include/linux/ipc_namespace.h
include/linux/mroute_base.h
include/linux/rhashtable-types.h [new file with mode: 0644]
include/linux/rhashtable.h
include/net/inet_frag.h
include/net/netfilter/nf_flow_table.h
include/net/sctp/structs.h
include/net/seg6.h
include/net/seg6_hmac.h
ipc/msg.c
ipc/sem.c
ipc/shm.c
ipc/util.c
lib/rhashtable.c
net/ipv4/inet_fragment.c
net/ipv4/ipmr.c
net/ipv4/ipmr_base.c
net/ipv6/ip6mr.c
net/ipv6/seg6.c
net/ipv6/seg6_hmac.c
net/netfilter/nf_tables_api.c
net/sctp/input.c
net/sctp/socket.c