From 515a1fa55cda2b1d952872e1786857481bd54fcc Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Thu, 21 Feb 2019 14:48:31 +0100 Subject: backports: support 3.1 and 3.10 tegra kernels Changes specific to vendor kernels Signed-off-by: Dominik Sliwa --- backport/backport-include/linux/random.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backport/backport-include/linux/random.h') diff --git a/backport/backport-include/linux/random.h b/backport/backport-include/linux/random.h index 7d817d8b..fa016cce 100644 --- a/backport/backport-include/linux/random.h +++ b/backport/backport-include/linux/random.h @@ -12,7 +12,9 @@ static inline void add_device_randomness(const void *buf, unsigned int size) } #endif -#if LINUX_VERSION_IS_LESS(3,8,0) +/* #if LINUX_VERSION_IS_LESS(3,8,0) */ +/* already backported in our kernels */ +#if 0 /* backports 496f2f9 */ #define prandom_seed(_seed) srandom32(_seed) #define prandom_u32() random32() -- cgit v1.2.3