Changeset 76cec1e in mainline for arch/mips/include/mm/page.h


Ignore:
Timestamp:
2005-07-15T21:57:30Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4a4c5e3
Parents:
e41c47e
Message:

Huge indentation fix.

File:
1 edited

Legend:

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

    re41c47e r76cec1e  
    6060#define PTL3_INDEX_ARCH(vaddr)  (((vaddr)>>14)&0xfff)
    6161
    62 #define GET_PTL0_ADDRESS_ARCH()                 (PTL0)
     62#define GET_PTL0_ADDRESS_ARCH()                 (PTL0)
    6363#define SET_PTL0_ADDRESS_ARCH(ptl0)             (PTL0 = (pte_t *)(ptl0))
    6464
    65 #define GET_PTL1_ADDRESS_ARCH(ptl0, i)          (((pte_t *)(ptl0))[(i)].pfn<<14)
    66 #define GET_PTL2_ADDRESS_ARCH(ptl1, i)          (ptl1)
    67 #define GET_PTL3_ADDRESS_ARCH(ptl2, i)          (ptl2)
    68 #define GET_FRAME_ADDRESS_ARCH(ptl3, i)         (((pte_t *)(ptl3))[(i)].pfn<<14)
     65#define GET_PTL1_ADDRESS_ARCH(ptl0, i)          (((pte_t *)(ptl0))[(i)].pfn<<14)
     66#define GET_PTL2_ADDRESS_ARCH(ptl1, i)          (ptl1)
     67#define GET_PTL3_ADDRESS_ARCH(ptl2, i)          (ptl2)
     68#define GET_FRAME_ADDRESS_ARCH(ptl3, i)         (((pte_t *)(ptl3))[(i)].pfn<<14)
    6969
    7070#define SET_PTL1_ADDRESS_ARCH(ptl0, i, a)       (((pte_t *)(ptl0))[(i)].pfn = (a)>>14)
     
    7373#define SET_FRAME_ADDRESS_ARCH(ptl3, i, a)      (((pte_t *)(ptl3))[(i)].pfn = (a)>>14)
    7474
    75 #define GET_PTL1_FLAGS_ARCH(ptl0, i)            get_pt_flags((pte_t *)(ptl0), (index_t)(i))
    76 #define GET_PTL2_FLAGS_ARCH(ptl1, i)            PAGE_PRESENT
    77 #define GET_PTL3_FLAGS_ARCH(ptl2, i)            PAGE_PRESENT
    78 #define GET_FRAME_FLAGS_ARCH(ptl3, i)           get_pt_flags((pte_t *)(ptl3), (index_t)(i))
     75#define GET_PTL1_FLAGS_ARCH(ptl0, i)            get_pt_flags((pte_t *)(ptl0), (index_t)(i))
     76#define GET_PTL2_FLAGS_ARCH(ptl1, i)            PAGE_PRESENT
     77#define GET_PTL3_FLAGS_ARCH(ptl2, i)            PAGE_PRESENT
     78#define GET_FRAME_FLAGS_ARCH(ptl3, i)           get_pt_flags((pte_t *)(ptl3), (index_t)(i))
    7979
    8080#define SET_PTL1_FLAGS_ARCH(ptl0, i, x)         set_pt_flags((pte_t *)(ptl0), (index_t)(i), (x))
Note: See TracChangeset for help on using the changeset viewer.