From d1b9bfc290dfafb3f7aa1b4ac92a6c01cd1f92a7 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Tue, 12 May 2015 15:55:37 -0400 Subject: [PATCH] LU-6215 libcfs: shrinker code needs atomic.h In the latest linux kernel code struct shrinker now includes a new atomic_long_t so atomic.h is required for the libcfs autoconf test will pass. Change-Id: I7b5a5cc030bc8e8fc4cbd0c47bc75f73b07742f7 Signed-off-by: James Simmons Reviewed-on: http://review.whamcloud.com/14662 Tested-by: Jenkins Reviewed-by: Dmitry Eremin Reviewed-by: Thomas Stibor Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: Oleg Drokin --- libcfs/autoconf/lustre-libcfs.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/libcfs/autoconf/lustre-libcfs.m4 b/libcfs/autoconf/lustre-libcfs.m4 index d5eb5cf..a3b6142 100644 --- a/libcfs/autoconf/lustre-libcfs.m4 +++ b/libcfs/autoconf/lustre-libcfs.m4 @@ -183,6 +183,7 @@ dump_trace_address, [ AC_DEFUN([LC_SHRINK_CONTROL], [ LB_CHECK_COMPILE([if 'shrink_control' is present], shrink_control, [ + #include #include ],[ struct shrink_control tmp = {0}; -- 1.8.3.1