]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: Remove irqflags.h dependency from bitops.h
authorJim Quinlan <jim2101024@gmail.com>
Thu, 6 Sep 2012 15:36:55 +0000 (11:36 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 9 Nov 2012 09:59:10 +0000 (10:59 +0100)
commit92d11594f688c8b55b51e80f2eac4417396237a4
tree6df61bb032c29c0686ae7352070df95e99e78c19
parent9de79c500600c5868e83712a2ea5b0b48f83af24
MIPS: Remove irqflags.h dependency from bitops.h

The "else clause" of most functions in bitops.h invoked
raw_local_irq_{save,restore}() and in doing so had a dependency on
irqflags.h.  This fix moves said code to bitops.c, removing the
dependency.

Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: David Daney <ddaney.cavm@gmail.com>
Cc: Kevin Cernekee cernekee@gmail.com
Cc: Jim Quinlan <jim2101024@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/4320/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/executive/cvmx-l2c.c
arch/mips/include/asm/bitops.h
arch/mips/include/asm/io.h
arch/mips/lib/Makefile
arch/mips/lib/bitops.c [new file with mode: 0644]