]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - arch/sparc/kernel/entry.h
sparc64: Use pause instruction when available.
[can-eth-gw-linux.git] / arch / sparc / kernel / entry.h
index 0c218e4c0881fba70c1748e6a4c295e0db280652..51742df63c757ee3dd017cbae8a42c1100e8f577 100644 (file)
@@ -59,6 +59,13 @@ struct popc_6insn_patch_entry {
 extern struct popc_6insn_patch_entry __popc_6insn_patch,
        __popc_6insn_patch_end;
 
+struct pause_patch_entry {
+       unsigned int    addr;
+       unsigned int    insns[3];
+};
+extern struct pause_patch_entry __pause_patch,
+       __pause_patch_end;
+
 extern void __init per_cpu_patch(void);
 extern void sun4v_patch_1insn_range(struct sun4v_1insn_patch_entry *,
                                    struct sun4v_1insn_patch_entry *);