Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/5] Get ride of CPHYSADDR() in setup.c
@ 2006-10-11 12:08 Franck Bui-Huu
  2006-10-11 12:08 ` [PATCH 1/5] Make __pa() uses CPHYSADDR() if really needed Franck Bui-Huu
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Franck Bui-Huu @ 2006-10-11 12:08 UTC (permalink / raw)
  To: ralf; +Cc: anemo, ths, linux-mips

Indeed there's no point to have 2 macros __pa()/CPHYSADDR()
that do exactly the same thing that is convert a virtual
address into physical one at early boot.

So this patch simply removes CPHYSADDR() usages and make __pa()
aware of 64 bit kernels with CONFIG_BUILD_ELF64=n constraint.

At the same time, it also removes all hacks related to the
previous constraint and initrd.

Unfortunately, no tests have been done for 64 bit kernels
because of lacks of hardware. If anybody could give a try that
would be great.

Please consider,

		Franck
---

 arch/mips/kernel/setup.c |   53 ++++++++++++++++++++++++++--------------------
 arch/mips/mm/init.c      |    5 ----
 include/asm-mips/page.h  |    7 +++++-
 3 files changed, 36 insertions(+), 29 deletions(-)

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-10-13  8:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-11 12:08 [PATCH 0/5] Get ride of CPHYSADDR() in setup.c Franck Bui-Huu
2006-10-11 12:08 ` [PATCH 1/5] Make __pa() uses CPHYSADDR() if really needed Franck Bui-Huu
2006-10-11 13:33   ` Atsushi Nemoto
2006-10-11 14:15     ` Franck Bui-Huu
2006-10-11 15:30       ` Atsushi Nemoto
2006-10-11 16:01         ` Franck Bui-Huu
2006-10-11 17:07           ` Franck Bui-Huu
2006-10-12 10:05           ` Atsushi Nemoto
2006-10-12 11:49             ` Franck Bui-Huu
2006-10-12 12:37               ` Thiemo Seufer
2006-10-11 12:08 ` [PATCH 2/5] setup.c: get ride of CPHYSADDR() Franck Bui-Huu
2006-10-11 12:08 ` [PATCH 3/5] setup.c: clean up initrd related code Franck Bui-Huu
2006-10-13  8:23   ` Franck Bui-Huu
2006-10-11 12:08 ` [PATCH 4/5] Introduce __pa_symbol() Franck Bui-Huu
2006-10-11 15:34   ` Atsushi Nemoto
2006-10-11 16:13     ` Franck Bui-Huu
2006-10-12  9:48       ` Atsushi Nemoto
2006-10-12 11:57         ` Franck Bui-Huu
2006-10-12 14:27           ` Atsushi Nemoto
2006-10-11 12:08 ` [PATCH 5/5] setup.c: use __pa_symbol() where needed Franck Bui-Huu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox