X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Fasm-arm%2Farch-ixp4xx%2Fixp4xx-regs.h;h=5d949d763a918810571f46f5b163cb61a740ca2a;hb=334d0dd8b660557608142f0f77abc6812b48f08b;hp=ed35e5c94f401796579018148417f8c7a180fadd;hpb=1dee79087c8b0f3239a2979f61ed92c7a5361b08;p=cascardo%2Flinux.git diff --git a/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h b/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h index ed35e5c94f40..5d949d763a91 100644 --- a/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h +++ b/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h @@ -607,19 +607,4 @@ #define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */ -#ifndef __ASSEMBLY__ -static inline int cpu_is_ixp46x(void) -{ -#ifdef CONFIG_CPU_IXP46X - unsigned int processor_id; - - asm("mrc p15, 0, %0, cr0, cr0, 0;" : "=r"(processor_id) :); - - if ((processor_id & 0xffffff00) == 0x69054200) - return 1; -#endif - return 0; -} -#endif - #endif