X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-arm%2Fmmu.h;h=53099d4ee4211d072741841a6513aebf74161a54;hb=6585b4a71f523485ecf33e7f4569be4095d63699;hp=fe2a23b5627bc41639aa8d0626c152149366b4ee;hpb=e82ca04387dd6c98722f5f48235089839fd04268;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-arm/mmu.h b/include/asm-arm/mmu.h index fe2a23b5627..53099d4ee42 100644 --- a/include/asm-arm/mmu.h +++ b/include/asm-arm/mmu.h @@ -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)