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>
Showing
- arch/mips/cavium-octeon/executive/cvmx-l2c.c 1 addition, 0 deletionsarch/mips/cavium-octeon/executive/cvmx-l2c.c
- arch/mips/include/asm/bitops.h 32 additions, 82 deletionsarch/mips/include/asm/bitops.h
- arch/mips/include/asm/io.h 1 addition, 0 deletionsarch/mips/include/asm/io.h
- arch/mips/lib/Makefile 1 addition, 1 deletionarch/mips/lib/Makefile
- arch/mips/lib/bitops.c 179 additions, 0 deletionsarch/mips/lib/bitops.c
Loading
Please register or sign in to comment