Messages in this thread | | | Date | Thu, 23 Jun 2005 16:43:51 -0700 | From | Keshavamurthy Anil S <> | Subject | Re: [ia64][patch] Refuse inserting kprobe on slot 1 |
| |
On Wed, Jun 22, 2005 at 07:32:42PM -0700, Rusty Lynch wrote: > > + > + if (slot == 1) { Rusty, this is wrong. You should fail only if (slot == 1) && (bundle_encoding[template][1] != L) { This is because for MLX template we will actually be patching the instruction on slot = 2 and not on slot 1. > + printk(KERN_WARNING "Inserting kprobes on slot #1 " > + "is not supported\n"); > + return -EINVAL; > + } > + > return 0; > } >
-Anil - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |