summaryrefslogtreecommitdiffstats
path: root/libtommath
diff options
context:
space:
mode:
authorJan Chadima <jchadima@redhat.com>2010-08-05 18:45:01 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-05 18:45:01 +0200
commitec81bc91006efb7516ad16fd551a290cf634822b (patch)
tree051f81e24e2509e37fae64fd31ddfed0b6a59e5c /libtommath
parent85b4cdcb94355e284c1fff81311b5a039861a01d (diff)
downloadkernel-crypto-ec81bc91006efb7516ad16fd551a290cf634822b.tar.gz
kernel-crypto-ec81bc91006efb7516ad16fd551a290cf634822b.tar.xz
kernel-crypto-ec81bc91006efb7516ad16fd551a290cf634822b.zip
Fix build with recent kernels
Diffstat (limited to 'libtommath')
-rw-r--r--libtommath/bn_mp_clear.c1
-rw-r--r--libtommath/bn_mp_grow.c1
-rw-r--r--libtommath/bn_mp_init.c1
-rw-r--r--libtommath/bn_mp_init_size.c1
-rw-r--r--libtommath/bn_mp_prime_random_ex.c1
-rw-r--r--libtommath/bn_mp_shrink.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/libtommath/bn_mp_clear.c b/libtommath/bn_mp_clear.c
index a65f0a36c49..05ee8e7e200 100644
--- a/libtommath/bn_mp_clear.c
+++ b/libtommath/bn_mp_clear.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_CLEAR_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_grow.c b/libtommath/bn_mp_grow.c
index cf2b949b248..3646c6c86d8 100644
--- a/libtommath/bn_mp_grow.c
+++ b/libtommath/bn_mp_grow.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_GROW_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_init.c b/libtommath/bn_mp_init.c
index 8be27f5696a..990500ba09f 100644
--- a/libtommath/bn_mp_init.c
+++ b/libtommath/bn_mp_init.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_INIT_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_init_size.c b/libtommath/bn_mp_init_size.c
index 8e014183a3e..ba46d3ab693 100644
--- a/libtommath/bn_mp_init_size.c
+++ b/libtommath/bn_mp_init_size.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_INIT_SIZE_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_prime_random_ex.c b/libtommath/bn_mp_prime_random_ex.c
index 07aae4b072e..741bfd168b7 100644
--- a/libtommath/bn_mp_prime_random_ex.c
+++ b/libtommath/bn_mp_prime_random_ex.c
@@ -1,4 +1,5 @@
#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/libtommath/bn_mp_shrink.c b/libtommath/bn_mp_shrink.c
index 4b8c5ef11ad..3e38556be9f 100644
--- a/libtommath/bn_mp_shrink.c
+++ b/libtommath/bn_mp_shrink.c
@@ -1,4 +1,5 @@
#include <tommath.h>
+#include <linux/slab.h>
#ifdef BN_MP_SHRINK_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*