]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Terminally fix local_{dec,sub}_if_positive
authorRalf Baechle <ralf@linux-mips.org>
Wed, 3 Oct 2007 13:29:19 +0000 (14:29 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 3 Oct 2007 13:30:52 +0000 (14:30 +0100)
commit4382d7c00fede9e29b66bfc0f58b6013f5eebfdc
treec64ab5faadda7030b2aaf8f63eeb6be9dbd4b672
parentb3fe6bd1576b8b97bb43bc022026e627fdf1d189
[MIPS] Terminally fix local_{dec,sub}_if_positive

They contain 64-bit instructions so wouldn't work on 32-bit kernels or
32-bit hardware.  Since there are no users, blow them away.  They
probably were only ever created because there are atomic_sub_if_positive
and atomic_dec_if_positive which exist only for sake of semaphores.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/local.h