* Question about PPC_NATIVE/hash_native_64.c
@ 2008-02-20 11:57 Gerhard Pircher
2008-02-21 4:47 ` Paul Mackerras
0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Pircher @ 2008-02-20 11:57 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I'm a little bit confused about the hash_native_64.c file, which is compiled
in the kernel, if PPC_NATIVE is defined. PPC_NATIVE seems to be defined also
for 32bit platforms (CHRP, PREP, etc.), but the name of the hash_native_64.c
file and the Makefile suggest that it is for 64bit platforms only.
What is hash_native_64.c actually good for on 32bit platforms and which cpus
can make use of it?
Thanks!
regards,
Gerhard
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question about PPC_NATIVE/hash_native_64.c
2008-02-20 11:57 Question about PPC_NATIVE/hash_native_64.c Gerhard Pircher
@ 2008-02-21 4:47 ` Paul Mackerras
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 2008-02-21 4:47 UTC (permalink / raw)
To: Gerhard Pircher; +Cc: linuxppc-dev
Gerhard Pircher writes:
> I'm a little bit confused about the hash_native_64.c file, which is compiled
> in the kernel, if PPC_NATIVE is defined. PPC_NATIVE seems to be defined also
> for 32bit platforms (CHRP, PREP, etc.), but the name of the hash_native_64.c
> file and the Makefile suggest that it is for 64bit platforms only.
> What is hash_native_64.c actually good for on 32bit platforms and which cpus
> can make use of it?
It's not included on 32-bit platforms. Here are the relevant lines
from arch/powerpc/mm/Makefile:
hash-$(CONFIG_PPC_NATIVE) := hash_native_64.o
obj-$(CONFIG_PPC64) += hash_utils_64.o \
slb_low.o slb.o stab.o mmap.o $(hash-y)
Note that the first line sets hash-y not obj-y, and $(hash-y) is only
used on 64-bit machines.
Paul.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-21 4:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 11:57 Question about PPC_NATIVE/hash_native_64.c Gerhard Pircher
2008-02-21 4:47 ` Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).