staging/lustre/libcfs: Fix build errors for !CONFIG_SMP
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 2 May 2014 16:28:33 +0000 (18:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:38:08 +0000 (19:38 -0400)
commitdab3aad3699d4951f60ec9e79009b62db63b1795
tree56273373639659f500d7665608d7e4dc3bfc21a1
parentee02eb4ae43b3b65cbf4c49c6915fe9d63aac970
staging/lustre/libcfs: Fix build errors for !CONFIG_SMP

When CONFIG_SMP=n:

drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h:58:31: fatal error: libcfs/libcfs_cpu.h: No such file or directory

drivers/staging/lustre/lustre/libcfs/libcfs_cpu.c:78:1: error: redefinition of 'cfs_cpt_table_print'
drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h:109:1: note: previous definition of 'cfs_cpt_table_print' was here

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h
drivers/staging/lustre/lustre/libcfs/libcfs_cpu.c