aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan2009-08-13 05:05:43 -0500
committerDavid S. Miller2009-08-16 20:25:53 -0500
commit8abf9196008a7f06841b10769d1aed3f28c1d314 (patch)
tree609ef7f58307beffebba65b06dc5e5a6a95536e0 /samples/kprobes
parent3f389635102e0dd2f85ebfe7fd549942b5bbc33b (diff)
downloadkernel-common-8abf9196008a7f06841b10769d1aed3f28c1d314.tar.gz
kernel-common-8abf9196008a7f06841b10769d1aed3f28c1d314.tar.xz
kernel-common-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')
-rw-r--r--samples/kprobes/kretprobe_example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kprobes/kretprobe_example.c b/samples/kprobes/kretprobe_example.c
index 4e764b317d6..1041b673159 100644
--- a/samples/kprobes/kretprobe_example.c
+++ b/samples/kprobes/kretprobe_example.c
@@ -23,6 +23,7 @@
23#include <linux/kprobes.h> 23#include <linux/kprobes.h>
24#include <linux/ktime.h> 24#include <linux/ktime.h>
25#include <linux/limits.h> 25#include <linux/limits.h>
26#include <linux/sched.h>
26 27
27static char func_name[NAME_MAX] = "do_fork"; 28static char func_name[NAME_MAX] = "do_fork";
28module_param_string(func, func_name, NAME_MAX, S_IRUGO); 29module_param_string(func, func_name, NAME_MAX, S_IRUGO);