diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-10-17 03:58:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-17 03:58:25 -0400 |
commit | bb3c3e807140816b5f5fd4840473ee52a916ad4f (patch) | |
tree | 9e8a69d266a7df86ca16177eefffab4b4e910753 /kernel/kprobes.c | |
parent | 595c36490deb49381dc51231a3d5e6b66786ed27 (diff) | |
parent | 012abeea669ea49636cf952d13298bb68654146a (diff) |
Merge commit 'v2.6.32-rc5' into perf/probes
Conflicts:
kernel/trace/trace_event_profile.c
Merge reason: update to -rc5 and resolve conflict.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/kprobes.c')
-rw-r--r-- | kernel/kprobes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index b466afa4e148..84495958e703 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c | |||
@@ -1361,7 +1361,7 @@ static int __kprobes kprobes_open(struct inode *inode, struct file *filp) | |||
1361 | return seq_open(filp, &kprobes_seq_ops); | 1361 | return seq_open(filp, &kprobes_seq_ops); |
1362 | } | 1362 | } |
1363 | 1363 | ||
1364 | static struct file_operations debugfs_kprobes_operations = { | 1364 | static const struct file_operations debugfs_kprobes_operations = { |
1365 | .open = kprobes_open, | 1365 | .open = kprobes_open, |
1366 | .read = seq_read, | 1366 | .read = seq_read, |
1367 | .llseek = seq_lseek, | 1367 | .llseek = seq_lseek, |
@@ -1543,7 +1543,7 @@ static ssize_t write_enabled_file_bool(struct file *file, | |||
1543 | return count; | 1543 | return count; |
1544 | } | 1544 | } |
1545 | 1545 | ||
1546 | static struct file_operations fops_kp = { | 1546 | static const struct file_operations fops_kp = { |
1547 | .read = read_enabled_file_bool, | 1547 | .read = read_enabled_file_bool, |
1548 | .write = write_enabled_file_bool, | 1548 | .write = write_enabled_file_bool, |
1549 | }; | 1549 | }; |