public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* Microblaze noMMU/MMU merge
@ 2009-04-21  7:45 Michal Simek
  2009-04-21  7:57 ` Paul Mundt
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michal Simek @ 2009-04-21  7:45 UTC (permalink / raw)
  To: Ingo Molnar, lkml, Andrew Morton, Arnd Bergmann,
	Linux Kernel list

Hi All,

I would like to say your opinion about putting together Microblaze MMU
arch to noMMU version.

In C code will be #ifdef CONFIG_MMU ... #endif  or #ifndef.

Here is proposal for headers. The similar style is used in m68k but I
would like to have the same code
for both archs in main file.

#ifndef _ASM_MICROBLAZE_PAGE_H
#define _ASM_MICROBLAZE_PAGE_H

code for noMMU and MMU which is the same for both.

#ifdef __uClinux__
#include "page_no.h" -> noMMU specific
#else
#include "page_mm.h"-> MMU specific
#endif
#endif /* _ASM_MICROBLAZE_PAGE_H */


Thanks for your suggestion,
Michal



-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663

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

end of thread, other threads:[~2009-04-21 11:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21  7:45 Microblaze noMMU/MMU merge Michal Simek
2009-04-21  7:57 ` Paul Mundt
2009-04-21  8:25 ` Sam Ravnborg
2009-04-21  9:46   ` Michal Simek
2009-04-21 11:06 ` Greg Ungerer

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