summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-04-16 10:42:37 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 15:11:40 +0200
commit93aa2c2a5091bd47819a3ead4af70fb57fda5065 (patch)
tree27f744ce554f3a7cb0d90d412da68c63ee3aec7f /include/linux/kernel.h
parenteba8572846749dc09e1a54cd5e26d9dba652446c (diff)
staging: lustre: rearrange placement of CPU partition management code.
Currently the code for cpu-partition tables lives in various places. The non-SMP code is partly in libcfs/libcfs_cpu.h as static inlines, and partly in lnet/libcfs/libcfs_cpu.c - some of the functions are tiny and could well be inlines. The SMP code is all in lnet/libcfs/linux/linux-cpu.c. This patch moves all the trivial non-SMP functions into libcfs_cpu.h as inlines, and all the SMP functions into libcfs_cpu.c with the non-trival !SMP code. Now when you go looking for some function, it is easier to find both versions together when neither is trivial. There is no code change here - just code movement. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions