summaryrefslogtreecommitdiffstats
path: root/crypto/userspace/libtommath
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/userspace/libtommath')
-rw-r--r--crypto/userspace/libtommath/bn_mp_clear.c1
-rw-r--r--crypto/userspace/libtommath/bn_mp_grow.c1
-rw-r--r--crypto/userspace/libtommath/bn_mp_init.c1
-rw-r--r--crypto/userspace/libtommath/bn_mp_init_size.c1
-rw-r--r--crypto/userspace/libtommath/bn_mp_prime_random_ex.c1
-rw-r--r--crypto/userspace/libtommath/bn_mp_shrink.c1
-rw-r--r--crypto/userspace/libtommath/tommath.h1
7 files changed, 1 insertions, 6 deletions
diff --git a/crypto/userspace/libtommath/bn_mp_clear.c b/crypto/userspace/libtommath/bn_mp_clear.c
index 05ee8e7e200..a65f0a36c49 100644
--- a/crypto/userspace/libtommath/bn_mp_clear.c
+++ b/crypto/userspace/libtommath/bn_mp_clear.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_CLEAR_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/crypto/userspace/libtommath/bn_mp_grow.c b/crypto/userspace/libtommath/bn_mp_grow.c
index 3646c6c86d8..cf2b949b248 100644
--- a/crypto/userspace/libtommath/bn_mp_grow.c
+++ b/crypto/userspace/libtommath/bn_mp_grow.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_GROW_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/crypto/userspace/libtommath/bn_mp_init.c b/crypto/userspace/libtommath/bn_mp_init.c
index 990500ba09f..8be27f5696a 100644
--- a/crypto/userspace/libtommath/bn_mp_init.c
+++ b/crypto/userspace/libtommath/bn_mp_init.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_INIT_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/crypto/userspace/libtommath/bn_mp_init_size.c b/crypto/userspace/libtommath/bn_mp_init_size.c
index ba46d3ab693..8e014183a3e 100644
--- a/crypto/userspace/libtommath/bn_mp_init_size.c
+++ b/crypto/userspace/libtommath/bn_mp_init_size.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_INIT_SIZE_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/crypto/userspace/libtommath/bn_mp_prime_random_ex.c b/crypto/userspace/libtommath/bn_mp_prime_random_ex.c
index 741bfd168b7..07aae4b072e 100644
--- a/crypto/userspace/libtommath/bn_mp_prime_random_ex.c
+++ b/crypto/userspace/libtommath/bn_mp_prime_random_ex.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_PRIME_RANDOM_EX_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/crypto/userspace/libtommath/bn_mp_shrink.c b/crypto/userspace/libtommath/bn_mp_shrink.c
index 3e38556be9f..4b8c5ef11ad 100644
--- a/crypto/userspace/libtommath/bn_mp_shrink.c
+++ b/crypto/userspace/libtommath/bn_mp_shrink.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_SHRINK_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/crypto/userspace/libtommath/tommath.h b/crypto/userspace/libtommath/tommath.h
index 37fb23cac16..31ded829977 100644
--- a/crypto/userspace/libtommath/tommath.h
+++ b/crypto/userspace/libtommath/tommath.h
@@ -17,6 +17,7 @@
#include <linux/kernel.h>
#include <linux/mm.h>
+#include <linux/slab.h>
#include <linux/random.h>
#include <linux/ctype.h>