diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-08-13 12:05:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-17 03:25:53 +0200 |
commit | 8abf9196008a7f06841b10769d1aed3f28c1d314 (patch) | |
tree | 609ef7f58307beffebba65b06dc5e5a6a95536e0 /samples/kprobes/kretprobe_example.c | |
parent | SPARC: fix duplicate declaration (diff) | |
download | linux-8abf9196008a7f06841b10769d1aed3f28c1d314.tar.xz linux-8abf9196008a7f06841b10769d1aed3f28c1d314.zip |
sparc64: cheaper asm/uaccess.h inclusion
sched.h inclusion is definitely not needed like in 32-bit version,
remove it, fixup compilation.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/kprobes/kretprobe_example.c')
-rw-r--r-- | samples/kprobes/kretprobe_example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kprobes/kretprobe_example.c b/samples/kprobes/kretprobe_example.c index 4e764b317d61..1041b6731598 100644 --- a/samples/kprobes/kretprobe_example.c +++ b/samples/kprobes/kretprobe_example.c @@ -23,6 +23,7 @@ #include <linux/kprobes.h> #include <linux/ktime.h> #include <linux/limits.h> +#include <linux/sched.h> static char func_name[NAME_MAX] = "do_fork"; module_param_string(func, func_name, NAME_MAX, S_IRUGO); |