[PATCH] [POWERPC] Reintroduce O_SYNC flag to make DRAM non-cached.

2008-05-07 Thread nick . spence
From: Nick Spence <[EMAIL PROTECTED]> This patch re-introduces the O_SYNC flag to make DRAM non-cached, which is the default behavior for non PowerPC architectures in /drivers/char/mem.c Signed-off-by: Nick Spence <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/mm/mem.c b/arc

Re: [PATCH] [POWERPC] Reintroduce O_SYNC flag to make DRAM non-cached.

2008-05-08 Thread Nick Spence
Benjamin Herrenschmidt wrote: On Wed, 2008-05-07 at 23:31 -0700, Spence Nick wrote: Then you should completely carve it out of the LMB's which will ensure it's not seen as RAM by /dev/mem and not mapped by the linear mapping (well, the later depends ... if it's carved out of the top of RAM it sh