mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: NeilBrown <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
cbab901296
commit
0eb71a9da5
26 changed files with 166 additions and 133 deletions
|
|
@ -86,6 +86,7 @@
|
|||
#include <linux/ipc_namespace.h>
|
||||
#include <linux/sched/wake_q.h>
|
||||
#include <linux/nospec.h>
|
||||
#include <linux/rhashtable.h>
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
#include "util.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue