>  #define LZO_USE_CTZ32        1
>  #elif defined(__i386__) || defined(__powerpc__)
>  #define LZO_USE_CTZ32        1
> -#elif defined(__arm__) && (__LINUX_ARM_ARCH__ >= 5)
> +#elif defined(__arm__)
> +#if (__LINUX_ARM_ARCH__ >= 5)
>  #define LZO_USE_CTZ32        1
>  #endif
> +#if (__LINUX_ARM_ARCH__ >= 6) && (CONFIG_THUMB2_KERNEL)
> +#define LZO_USE_CTZ64        1

All of this really needs to be driven by Kconfig symbols that
the architecture selects instead of magic arch ifdefs here.

Reply via email to