Changeset fb84455 in mainline for arch/ppc64/include/mm/page.h


Ignore:
Timestamp:
2006-05-27T13:35:32Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ee077ee
Parents:
6bf18fa
Message:

Update page fault handlers to distinguish between different access modes that had caused the page fault.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc64/include/mm/page.h

    r6bf18fa rfb84455  
    9090
    9191#define PTE_VALID_ARCH(pte)                     (*((__u32 *) (pte)) != 0)
    92 #define PTE_PRESENT_ARCH(pte)           ((pte)->p != 0)
    93 #define PTE_GET_FRAME_ARCH(pte)         ((pte)->pfn << 12)
     92#define PTE_PRESENT_ARCH(pte)                   ((pte)->p != 0)
     93#define PTE_GET_FRAME_ARCH(pte)                 ((__address) ((pte)->pfn << 12))
     94#define PTE_WRITABLE_ARCH(pte)                  1
     95#define PTE_EXECUTABLE_ARCH(pte)                1
    9496
    9597#ifndef __ASM__
Note: See TracChangeset for help on using the changeset viewer.