On Sat, Sep 06, 2014 at 03:35:15PM +0200, Frederic Weisbecker wrote: > You have a script that does that arch/*/include/asm/Kbuild edit for you right? > Is this something in scripts/ ?
See commit b119fa61d440 ("locking/mcs: Order the header files in Kbuild of each architecture in alphabetical order") That script is a little buggy, but should work in the current case. So first do something like: for i in arch/*/include/asm/Kbuild; do echo "generic-y += foo.h" >> $i; done Then run that script. IIRC the bug was where a single line contained multiple headers and/or a continuation. I should have a better version somewhere, but this one was easier to find. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/