commit | f1e39a4a616cd9981a9decfd5332fd07a01abb8b | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Thu Sep 17 02:25:05 2009 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Sep 17 20:07:49 2009 +0200 |
tree | 555e0c78611bb30cef2caca1ae1b5043a9999290 | |
parent | f4c6b6bc5a4fc8d607f2d89369008c85a3a12a8b [diff] [blame] |
MIPS: Rewrite sysmips(MIPS_ATOMIC_SET, ...) in C with inline assembler This way it doesn't have to use CONFIG_CPU_HAS_LLSC anymore. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/include/asm/system.h b/arch/mips/include/asm/system.h index a2e9239..23f68b4 100644 --- a/arch/mips/include/asm/system.h +++ b/arch/mips/include/asm/system.h
@@ -32,6 +32,9 @@ struct task_struct; +extern unsigned int ll_bit; +extern struct task_struct *ll_task; + #ifdef CONFIG_MIPS_MT_FPAFF /*