diff options
author | Jim Quinlan | 2012-09-06 17:36:55 +0200 |
---|---|---|
committer | Ralf Baechle | 2012-11-09 10:59:10 +0100 |
commit | 92d11594f688c8b55b51e80f2eac4417396237a4 (patch) | |
tree | 6df61bb032c29c0686ae7352070df95e99e78c19 /arch/mips/lib/Makefile | |
parent | MIPS: bitops.h: Change use of 'unsigned short' to 'int' (diff) | |
download | kernel-qcow2-linux-92d11594f688c8b55b51e80f2eac4417396237a4.tar.gz kernel-qcow2-linux-92d11594f688c8b55b51e80f2eac4417396237a4.tar.xz kernel-qcow2-linux-92d11594f688c8b55b51e80f2eac4417396237a4.zip |
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>
Diffstat (limited to 'arch/mips/lib/Makefile')
-rw-r--r-- | arch/mips/lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index c4a82e841c73..a7b893714354 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -2,7 +2,7 @@ # Makefile for MIPS-specific library files.. # -lib-y += csum_partial.o delay.o memcpy.o memset.o \ +lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \ strlen_user.o strncpy_user.o strnlen_user.o uncached.o obj-y += iomap.o |