]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: remove include/linux/libcfs/linux/linux-cpu.h
authorNeilBrown <neilb@suse.com>
Mon, 16 Apr 2018 00:42:37 +0000 (10:42 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:10:59 +0000 (15:10 +0200)
commit983600eaf604d2f53373c08992d4efad45098c1f
tree18facf565067cd8cabefb38ae68098d71753ee51
parent735eb5210231d252a6b876b95a8c12995202e22a
staging: lustre: remove include/linux/libcfs/linux/linux-cpu.h

This include file contains definitions used when CONFIG_SMP
is in effect.  Other includes contain corresponding definitions
for when it isn't.
This can be hard to follow, so move the definitions to the one place.

As HAVE_LIBCFS_CPT is defined precisely when CONFIG_SMP, we discard
that macro and just use CONFIG_SMP when needed.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs.h
drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h
drivers/staging/lustre/include/linux/libcfs/linux/linux-cpu.h [deleted file]
drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c