On Fri, Apr 30, 2010 at 12:51:49PM +0530, Shilimkar, Santosh wrote: > Russell, > > The latest mainline ARM build breaks with KPROBES enabled. Anand > Gadiyar did git bisect and figured out that below commit breaks the build. > commit :4260415f6a3b92c5c986398d96c314df37a4ccbf Did you read the comments in the commit message to understand why .previous is dangerous? > I tried matching the sections but failed to fix the build error. Below > is the hack patch to keep build working. The previous section is not .text, but: #ifdef CONFIG_KPROBES .section .kprobes.text,"ax",%progbits #else .text #endif Either change the preceding .data to .pushsection .data, and the following .text to .popsection, or duplicate the above ifdef; .pushsection/.popsection is _far_ safer than using .previous. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html