[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0810291622050.18694@gandalf.stny.rr.com>
Date: Wed, 29 Oct 2008 16:23:34 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Adrian Bunk <bunk@...nel.org>
cc: Sam Ravnborg <sam@...nborg.org>,
LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
Frederic Weisbecker <fweisbec@...il.com>,
Abhishek Sagar <sagar.abhishek@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 01/11] ftrace: handle generic arch calls
On Wed, 29 Oct 2008, Adrian Bunk wrote:
> > >
> > > Since x86 is the ambiguous case, I made it the one that would be converted
> > > to i386 or x86_64 since those could be passed in directly.
> > The trick is usually to replace use of ARCH with SRCARCH.
>
> That won't help - what he wants to know is whether he's on 32bit or
> on 64bit.
I will still get the "bits" parameter. The issue that we are talking about
here is that I have this ugly if statement that deals with the fact that
we can get "x86", "x86_64" or "i386" passed in as the ARCH. I'm guessing
if we switch ARCH to SRCARCH then we can just test against x86 and bits?
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists