projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from...
[openwrt.git]
/
target
/
linux
/
generic
/
files
/
crypto
/
ocf
/
random.c
diff --git
a/target/linux/generic/files/crypto/ocf/random.c
b/target/linux/generic/files/crypto/ocf/random.c
index
38dad13
..
4bb773f
100644
(file)
--- a/
target/linux/generic/files/crypto/ocf/random.c
+++ b/
target/linux/generic/files/crypto/ocf/random.c
@@
-35,7
+35,8
@@
* and/or fitness for purpose.
*/
* and/or fitness for purpose.
*/
-#ifndef AUTOCONF_INCLUDED
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED)
#include <linux/config.h>
#endif
#include <linux/module.h>
#include <linux/config.h>
#endif
#include <linux/module.h>
@@
-45,7
+46,6
@@
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
-#include <linux/version.h>
#include <linux/unistd.h>
#include <linux/poll.h>
#include <linux/random.h>
#include <linux/unistd.h>
#include <linux/poll.h>
#include <linux/random.h>
@@
-59,11
+59,6
@@
#error "Please do not enable OCF_RANDOMHARVEST unless you have applied patches"
#endif
#error "Please do not enable OCF_RANDOMHARVEST unless you have applied patches"
#endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
-#include <linux/sched.h>
-#define kill_proc(p,s,v) send_sig(s,find_task_by_vpid(p),0)
-#endif
-
/*
* a hack to access the debug levels from the crypto driver
*/
/*
* a hack to access the debug levels from the crypto driver
*/
This page took
0.034027 seconds
and
4
git commands to generate.