Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28728
b: refs/heads/master
c: 0a9cb46
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and Paul Mackerras committed May 24, 2006
1 parent c05a329 commit 9e5af96
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 155 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7499bf1a4cabde789e7694b33d01a1913ae1dddf
refs/heads/master: 0a9cb46a73abd6c45e7c986bec984eed60c417b6
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ config GENERIC_CALIBRATE_DELAY
bool
default y

config GENERIC_FIND_NEXT_BIT
bool
default y

config PPC
bool
default y
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ obj-y := string.o strcase.o
obj-$(CONFIG_PPC32) += div64.o copy_32.o checksum_32.o
endif

obj-y += bitops.o
obj-$(CONFIG_PPC64) += checksum_64.o copypage_64.o copyuser_64.o \
memcpy_64.o usercopy_64.o mem_64.o string.o \
strcase.o
Expand Down
150 changes: 0 additions & 150 deletions trunk/arch/powerpc/lib/bitops.c

This file was deleted.

4 changes: 4 additions & 0 deletions trunk/arch/ppc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ config GENERIC_NVRAM
bool
default y

config GENERIC_FIND_NEXT_BIT
bool
default y

config SCHED_NO_NO_OMIT_FRAME_POINTER
bool
default y
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/asm-powerpc/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ static __inline__ int test_le_bit(unsigned long nr,
#define __test_and_clear_le_bit(nr, addr) \
__test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))

#define find_first_zero_le_bit(addr, size) find_next_zero_le_bit((addr), (size), 0)
unsigned long find_next_zero_le_bit(const unsigned long *addr,
#define find_first_zero_le_bit(addr, size) generic_find_next_zero_le_bit((addr), (size), 0)
unsigned long generic_find_next_zero_le_bit(const unsigned long *addr,
unsigned long size, unsigned long offset);

/* Bitmap functions for the ext2 filesystem */
Expand All @@ -309,7 +309,7 @@ unsigned long find_next_zero_le_bit(const unsigned long *addr,
#define ext2_find_first_zero_bit(addr, size) \
find_first_zero_le_bit((unsigned long*)addr, size)
#define ext2_find_next_zero_bit(addr, size, off) \
find_next_zero_le_bit((unsigned long*)addr, size, off)
generic_find_next_zero_le_bit((unsigned long*)addr, size, off)

/* Bitmap functions for the minix filesystem. */

Expand Down

0 comments on commit 9e5af96

Please sign in to comment.