diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2019-02-21 14:48:31 +0100 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2019-02-22 15:26:14 +0100 |
commit | 515a1fa55cda2b1d952872e1786857481bd54fcc (patch) | |
tree | 4c66dd52c58f3d1da423a1ed7f92c4f720e24685 /backport/backport-include/linux/random.h | |
parent | c956caceefd8e859c8b783dd13dad197dc1f7907 (diff) |
backports: support 3.1 and 3.10 tegra kernels
Changes specific to vendor kernels
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'backport/backport-include/linux/random.h')
-rw-r--r-- | backport/backport-include/linux/random.h | 4 |
1 files changed, 3 insertions, 1 deletions
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() |