Since linux kernel version 2.6.24 key-type.h has
been available so we no longer need to test this.
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I6ed82effb62a0dadabb8477e419c42e8540c91d9
Reviewed-on: http://review.whamcloud.com/5546
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Thomas Stibor <thomas@stibor.net>
Reviewed-by: Andrew Korty <ajk@iu.edu>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
-AC_DEFUN([LIBCFS_HAVE_KEYTYPE_H],
-[LB_CHECK_FILE([$LINUX/include/linux/key-type.h], [
- AC_DEFINE(HAVE_LINUX_KEYTYPE_H, 1,
- [kernel has include/key-type.h])
-],[
- AC_MSG_RESULT([no])
-])
-])
-
#
# RHEL6/2.6.32 want to have pointer to shrinker self pointer in handler function
#
#
# RHEL6/2.6.32 want to have pointer to shrinker self pointer in handler function
#
LIBCFS_U64_LONG_LONG_LINUX
# 2.6.24
LIBCFS_SYSCTL_UNNUMBERED
LIBCFS_U64_LONG_LONG_LINUX
# 2.6.24
LIBCFS_SYSCTL_UNNUMBERED
# 2.6.32
LIBCFS_STACKTRACE_OPS_HAVE_WALK_STACK
LC_SHRINKER_WANT_SHRINK_PTR
# 2.6.32
LIBCFS_STACKTRACE_OPS_HAVE_WALK_STACK
LC_SHRINKER_WANT_SHRINK_PTR
#include <linux/crypto.h>
#include <linux/key.h>
#include <linux/keyctl.h>
#include <linux/crypto.h>
#include <linux/key.h>
#include <linux/keyctl.h>
-#ifdef HAVE_LINUX_KEYTYPE_H
#include <linux/key-type.h>
#include <linux/key-type.h>
#include <linux/mutex.h>
#include <asm/atomic.h>
#else
#include <linux/mutex.h>
#include <asm/atomic.h>
#else