]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/include/asm/alternative.h
Merge tag 'v4.3-next-soc' of https://github.com/mbgg/linux-mediatek into next/soc
[karo-tx-linux.git] / arch / x86 / include / asm / alternative.h
index ba32af062f61d69164a792630e3257c8cdc6deb5..7bfc85bbb8ffc0578011ceac2c08548bd140ade3 100644 (file)
@@ -52,6 +52,12 @@ struct alt_instr {
        u8  padlen;             /* length of build-time padding */
 } __packed;
 
+/*
+ * Debug flag that can be tested to see whether alternative
+ * instructions were patched in already:
+ */
+extern int alternatives_patched;
+
 extern void alternative_instructions(void);
 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);