From: James Simmons Date: Wed, 18 Sep 2013 14:16:27 +0000 (-0400) Subject: LU-2800 autoconf: remove LIBCFS_CPUMASK_SIZE X-Git-Tag: 2.5.51~58 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=7c098fd993af52009b5f6c4a17c00e63bbb746f3 LU-2800 autoconf: remove LIBCFS_CPUMASK_SIZE The function cpumask_size has been in the linux kernel since 2.6.28. Also HAVE_CPUMASK_SIZE is not even used anywhere in the source tree. We can remove this obsolete test. Signed-off-by: James Simmons Change-Id: Ie6090055105dcaa55fc031bf52e5a25cd7bcf321 Reviewed-on: http://review.whamcloud.com/7693 Reviewed-by: Bob Glossman Tested-by: Hudson Tested-by: Maloo Reviewed-by: Minh Diep Reviewed-by: Oleg Drokin --- diff --git a/libcfs/autoconf/lustre-libcfs.m4 b/libcfs/autoconf/lustre-libcfs.m4 index 210fa2f..9703991 100644 --- a/libcfs/autoconf/lustre-libcfs.m4 +++ b/libcfs/autoconf/lustre-libcfs.m4 @@ -82,21 +82,6 @@ LB_LINUX_TRY_COMPILE([ EXTRA_KCFLAGS="$tmp_flags" ]) -# check cpumask_size (2.6.28) -AC_DEFUN([LIBCFS_CPUMASK_SIZE], -[AC_MSG_CHECKING([whether have cpumask_size()]) -LB_LINUX_TRY_COMPILE([ - #include -],[ - int size = cpumask_size(); -],[ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_CPUMASK_SIZE, 1, [have cpumask_size()]) -],[ - AC_MSG_RESULT(NO) -]) -]) - # 2.6.24 request not use real numbers for ctl_name AC_DEFUN([LIBCFS_SYSCTL_UNNUMBERED], [AC_MSG_CHECKING([for CTL_UNNUMBERED])