]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/mmu.h
[POWERPC] Move of_device_get_modalias to drivers/of
[linux-2.6-omap-h63xx.git] / include / asm-arm / mmu.h
index fe2a23b5627bc41639aa8d0626c152149366b4ee..53099d4ee4211d072741841a6513aebf74161a54 100644 (file)
@@ -4,13 +4,13 @@
 #ifdef CONFIG_MMU
 
 typedef struct {
-#if __LINUX_ARM_ARCH__ >= 6
+#ifdef CONFIG_CPU_HAS_ASID
        unsigned int id;
 #endif
        unsigned int kvm_seq;
 } mm_context_t;
 
-#if __LINUX_ARM_ARCH__ >= 6
+#ifdef CONFIG_CPU_HAS_ASID
 #define ASID(mm)       ((mm)->context.id & 255)
 #else
 #define ASID(mm)       (0)