From c09a82a041e1cf0e38b0a4d6163b4b3864fa44c6 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 28 Jul 2007 00:49:58 +0100 Subject: [PATCH] --- yaml --- r: 63467 b: refs/heads/master c: 98de920a2aa4f5939d47cdbb23ebac809308d871 h: refs/heads/master i: 63465: b3774a73048b91dfd173e719314e0061ef789c53 63463: cf269f9bcf36bac8b7433d6351ce88a89b4a120e v: v3 --- [refs] | 2 +- trunk/include/asm-mips/hazards.h | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 891438b58e60..f2f8ca8df943 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a11b18ef94772d2803ef7d651704c943dcb9dc38 +refs/heads/master: 98de920a2aa4f5939d47cdbb23ebac809308d871 diff --git a/trunk/include/asm-mips/hazards.h b/trunk/include/asm-mips/hazards.h index d9119f43f9aa..918a4894b587 100644 --- a/trunk/include/asm-mips/hazards.h +++ b/trunk/include/asm-mips/hazards.h @@ -3,7 +3,7 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. * - * Copyright (C) 2003, 2004 Ralf Baechle + * Copyright (C) 2003, 04, 07 Ralf Baechle * Copyright (C) MIPS Technologies, Inc. * written by Ralf Baechle */ @@ -23,6 +23,11 @@ static inline void name(void) \ __asm__ __volatile__ (#name); \ } +/* + * MIPS R2 instruction hazard barrier. Needs to be called as a subroutine. + */ +extern void mips_ihb(void); + #endif ASMMACRO(_ssnop,