Commit:     7b0fdaa6a193e0b07d9f72e942f51ce25d9e0387
Parent:     2e4dafd5d169ea2d5b066e38b5f8f9e416dc9eaa
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Mon Sep 3 16:22:26 2007 +0200
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Mon Sep 10 21:25:28 2007 +0100

    [MIPS] Provide empty irq_enable_hazard definition for legacy and R1 cores.
    Following a strict interpretation the empty definition of irq_enable_hazard
    has always been a bug - but an intentional one because it didn't bite.
    This has now changed, for uniprocessor kernels mm/slab.c:do_drain()
            on_each_cpu(do_drain, cachep, 1, 1);
    may be compiled into a mtc0 c0_status; mfc0 c0_status sequence resulting
    in a back-to-back hazard.
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
 include/asm-mips/hazards.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-mips/hazards.h b/include/asm-mips/hazards.h
index 918a489..6a5fa32 100644
--- a/include/asm-mips/hazards.h
+++ b/include/asm-mips/hazards.h
@@ -172,6 +172,7 @@ ASMMACRO(tlb_probe_hazard,
         nop; nop; nop
+        _ssnop; _ssnop; _ssnop;
        nop; nop; nop
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to