diff options
Diffstat (limited to 'arch/ia64/kernel/kprobes.c')
-rw-r--r-- | arch/ia64/kernel/kprobes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index c97e18e634ca..ec2ceade12b0 100644 --- a/arch/ia64/kernel/kprobes.c +++ b/arch/ia64/kernel/kprobes.c | |||
@@ -270,6 +270,13 @@ static int valid_kprobe_addr(int template, int slot, unsigned long addr) | |||
270 | addr); | 270 | addr); |
271 | return -EINVAL; | 271 | return -EINVAL; |
272 | } | 272 | } |
273 | |||
274 | if (slot == 1 && bundle_encoding[template][1] != L) { | ||
275 | printk(KERN_WARNING "Inserting kprobes on slot #1 " | ||
276 | "is not supported\n"); | ||
277 | return -EINVAL; | ||
278 | } | ||
279 | |||
273 | return 0; | 280 | return 0; |
274 | } | 281 | } |
275 | 282 | ||