[PATCH] enable RTAS /proc for PowerPC/CHRP platform
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Oct 20 09:35:42 EST 2006
On Thu, 2006-10-19 at 09:03 +0200, Olaf Hering wrote:
> On Thu, Oct 19, Benjamin Herrenschmidt wrote:
>
> > On Wed, 2006-10-18 at 09:38 +0200, Olaf Hering wrote:
> > > On Wed, Oct 18, Michael Ellerman wrote:
> > >
> > > > But it's called '/proc/ppc64' right now on lots of machines, so you
> > > > can't go changing it.
> > >
> > > if test -d /proc/ppc64 .. is a quick way to check wether the system is
> > > 64bit or not. Similar to if test -d /proc/iSeries ..
> >
> > That's really ugly ! You really do that ? Gack...
>
> What way should I use?
uname ? /proc/cpuinfo ? Whatever but not that.
Ben.
More information about the Linuxppc-dev
mailing list