Re: [RFC PATCH 3/9] irq_work: Force raised irq work to run on irq work interrupt

Peter Zijlstra
2014-09-06T15:46:12Z

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.