mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: mingo@kernel.org, dave.hansen@intel.com,
	torvalds@linux-foundation.org, peter@hurleysoftware.com,
	alex.shi@linaro.org, riel@redhat.com, arnd@arndb.de,
	figo1802@gmail.com, akpm@linux-foundation.org,
	matthew.r.wilcox@intel.com, aarcange@redhat.com,
	tglx@linutronix.de, scott.norton@hp.com,
	linux-kernel@vger.kernel.org, hpa@zytor.com, andi@firstfloor.org,
	davidlohr.bueso@hp.com, waiman.long@hp.com, will.deacon@arm.com,
	tim.c.chen@linux.intel.com, paulmck@linux.vnet.ibm.com,
	raghavendra.kt@linux.vnet.ibm.com, linux@horizon.com,
	walken@google.com, aswin@hp.com, mingo@elte.hu
Cc: linux-tip-commits@vger.kernel.org
Subject: Re: [tip:core/locking] locking/mcs: Order the header files in Kbuild of each architecture in alphabetical order
Date: Mon, 10 Feb 2014 14:52:37 +0100	[thread overview]
Message-ID: <20140210135237.GM9987@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <tip-b119fa61d440fe0f5af504299ad506637585a8ca@git.kernel.org>

On Mon, Feb 10, 2014 at 05:32:32AM -0800, tip-bot for Tim Chen wrote:

This script is actually buggy and lost some headers; the fixed version
is as follows:

> for i in arch/*/include/asm/Kbuild
> do
>         cat $i | gawk '/^generic-y/ {
>                 i = 3;
>                 do {
			n = NF;
                        for (; i <= n; i++) {
>                                 if ($i == "\\") {
>                                         getline;
                                         i = 0;
>                                         continue;
>                                 }
>                                 if ($i != "")
>                                         hdr[$i] = $i;
>                         }
>                         break;
>                 } while (1);
>                 next;
>         }
>         // {
>                 print $0;
>         }
>         END {
>                 n = asort(hdr);
>                 for (i = 1; i <= n; i++)
>                         print "generic-y += " hdr[i];
>         }' > ${i}.sorted;
>         mv ${i}.sorted $i;
> done

           reply	other threads:[~2014-02-10 13:53 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tip-b119fa61d440fe0f5af504299ad506637585a8ca@git.kernel.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140210135237.GM9987@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=alex.shi@linaro.org \
    --cc=andi@firstfloor.org \
    --cc=arnd@arndb.de \
    --cc=aswin@hp.com \
    --cc=dave.hansen@intel.com \
    --cc=davidlohr.bueso@hp.com \
    --cc=figo1802@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=linux@horizon.com \
    --cc=matthew.r.wilcox@intel.com \
    --cc=mingo@elte.hu \
    --cc=mingo@kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peter@hurleysoftware.com \
    --cc=raghavendra.kt@linux.vnet.ibm.com \
    --cc=riel@redhat.com \
    --cc=scott.norton@hp.com \
    --cc=tglx@linutronix.de \
    --cc=tim.c.chen@linux.intel.com \
    --cc=torvalds@linux-foundation.org \
    --cc=waiman.long@hp.com \
    --cc=walken@google.com \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome