[PATCH 2.6.10-rc3-mm1] m32r: PAGE_NONE support (0/3)

From: Hirokazu Takata
Date: Thu Dec 16 2004 - 23:09:39 EST


Hello,

This patchset updates page flags for m32r.

* Support PAGE_NONE
- Support PAGE_NONE attribute for memory protection.
- Add _PAGE_PROTNONE bit to pte.
On the m32r, the _PAGE_PROTNONE bit is a software bit.

* Remove PAGE_USER
- Remove _PAGE_USER bit from pte, because the m32r doesn't support it
by hardware. (cf. mips)

In my understanding, the _PAGE_PRONONE bit is used to show explicitly that
no physical memory is mapped and the mapped page is not accessible, right?
If a page marked with PAGE_NONE is accessed, an access error should
be happened.

Tested on M3T-M32700UT and M3A-ZA36 eva boards, and it looks working.
Please apply.

Thank you.

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
---

[PATCH 2.6.10-rc3-mm1] m32r: Support PAGE_NONE (1/3)
- Support PAGE_NONE attribute for memory protection.
- Add _PAGE_PROTNONE bit to pte (software bit).

[PATCH 2.6.10-rc3-mm1] m32r: Remove PAGE_USER (2/3)
- Remove _PAGE_USER bit from pte.
- The m32r doesn't support _PAGE_USER bit by hardware.

[PATCH 2.6.10-rc3-mm1] m32r: Clean up include/asm-m32r/pgtable-2level.h (3/3)
- Add #ifdef __KERNEL__
- Change __inline__ to inline for __KERNEL__ portion.
- Remove RCS ID string.

--
Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Linux/M32R Project: http://www.linux-m32r.org/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/