home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-arm / mmu.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  240 b   |  17 lines

  1. #ifndef __ARM_MMU_H
  2. #define __ARM_MMU_H
  3.  
  4. typedef struct {
  5. #if __LINUX_ARM_ARCH__ >= 6
  6.     unsigned int id;
  7. #endif
  8. } mm_context_t;
  9.  
  10. #if __LINUX_ARM_ARCH__ >= 6
  11. #define ASID(mm)    ((mm)->context.id & 255)
  12. #else
  13. #define ASID(mm)    (0)
  14. #endif
  15.  
  16. #endif
  17.