Changeset 371bd7d in mainline for kernel/arch/ia64/include/mm


Ignore:
Timestamp:
2010-03-27T09:22:17Z (16 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a75a2
Parents:
cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

Location:
kernel/arch/ia64/include/mm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/mm/asid.h

    rcd82bb1 r371bd7d  
    3838#ifndef __ASM__
    3939
    40 #include <arch/types.h>
     40#include <typedefs.h>
    4141
    4242typedef uint16_t asid_t;
     
    5050 * but those extra bits are not used by the kernel.
    5151 */
    52 #define RIDS_PER_ASID           7
     52#define RIDS_PER_ASID           8
    5353
    5454#define RID_MAX                 262143          /* 2^18 - 1 */
    55 #define RID_KERNEL              0
    56 #define RID_INVALID             1
     55#define RID_KERNEL7             7
    5756
    58 #define ASID2RID(asid, vrn)     (((asid)>RIDS_PER_ASID)?(((asid)*RIDS_PER_ASID)+(vrn)):(asid))
    59 #define RID2ASID(rid)           ((rid)/RIDS_PER_ASID)
     57#define ASID2RID(asid, vrn) \
     58        ((asid) * RIDS_PER_ASID + (vrn))
    6059
    61 #define ASID_MAX_ARCH           (RID_MAX/RIDS_PER_ASID)
     60#define RID2ASID(rid) \
     61        ((rid) / RIDS_PER_ASID)
     62
     63#define ASID_MAX_ARCH           (RID_MAX / RIDS_PER_ASID)
    6264
    6365#endif
  • kernel/arch/ia64/include/mm/frame.h

    rcd82bb1 r371bd7d  
    4242#ifndef __ASM__
    4343
    44 #include <arch/types.h>
     44#include <typedefs.h>
    4545
    4646extern uintptr_t last_frame;
  • kernel/arch/ia64/include/mm/page.h

    rcd82bb1 r371bd7d  
    108108#include <arch/barrier.h>
    109109#include <arch/mm/asid.h>
    110 #include <arch/types.h>
     110#include <typedefs.h>
    111111#include <debug.h>
    112112
  • kernel/arch/ia64/include/mm/tlb.h

    rcd82bb1 r371bd7d  
    3939#include <arch/mm/asid.h>
    4040#include <arch/interrupt.h>
    41 #include <arch/types.h>
     41#include <typedefs.h>
    4242
    4343/** Data and instruction Translation Register indices. */
Note: See TracChangeset for help on using the changeset viewer.