Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / arch / arm64 / include / asm / cputype.h
index 12f93e4d24528b4a9de571c1ba7b22d091d956bc..951ed1a4e5c91b3cfe062589c791452dbb6544d1 100644 (file)
@@ -151,6 +151,8 @@ struct midr_range {
                .rv_max = MIDR_CPU_VAR_REV(v_max, r_max),       \
        }
 
+#define MIDR_REV_RANGE(m, v, r_min, r_max) MIDR_RANGE(m, v, r_min, v, r_max)
+#define MIDR_REV(m, v, r) MIDR_RANGE(m, v, r, v, r)
 #define MIDR_ALL_VERSIONS(m) MIDR_RANGE(m, 0, 0, 0xf, 0xf)
 
 static inline bool is_midr_in_range(u32 midr, struct midr_range const *range)