All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix ext4 bitops
@ 2008-02-01 20:02 Bastian Blank
  2008-02-01 20:22 ` Andrew Morton
  0 siblings, 1 reply; 17+ messages in thread
From: Bastian Blank @ 2008-02-01 20:02 UTC (permalink / raw)
  To: linux-s390, akpm; +Cc: linux-kernel

Fix ext4 bitops.

Signed-off-by: Bastian Blank <waldi@debian.org>

diff --git a/include/asm-s390/bitops.h b/include/asm-s390/bitops.h
index dba6fec..47844fc 100644
--- a/include/asm-s390/bitops.h
+++ b/include/asm-s390/bitops.h
@@ -762,6 +762,8 @@ static inline int sched_find_first_bit(unsigned long *b)
  *    23 22 21 20 19 18 17 16 31 30 29 28 27 26 25 24
  */
 
+#include <asm-generic/bitops/le.h>
+
 #define ext2_set_bit(nr, addr)       \
 	__test_and_set_bit((nr)^(__BITOPS_WORDSIZE - 8), (unsigned long *)addr)
 #define ext2_set_bit_atomic(lock, nr, addr)       \

^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH] Fix ext4 bitops
@ 2008-02-01 20:02 Bastian Blank
  2008-02-03  7:36 ` Benjamin Herrenschmidt
  2008-02-04  5:22 ` Aneesh Kumar K.V
  0 siblings, 2 replies; 17+ messages in thread
From: Bastian Blank @ 2008-02-01 20:02 UTC (permalink / raw)
  To: linuxppc-dev, akpm; +Cc: linux-kernel

Fix ext4 bitops.

Signed-off-by: Bastian Blank <waldi@debian.org>

diff --git a/include/asm-powerpc/bitops.h b/include/asm-powerpc/bitops.h
index 220d9a7..d0980df 100644
--- a/include/asm-powerpc/bitops.h
+++ b/include/asm-powerpc/bitops.h
@@ -363,6 +363,8 @@ unsigned long generic_find_next_le_bit(const unsigned long *addr,
 				    unsigned long size, unsigned long offset);
 /* Bitmap functions for the ext2 filesystem */
 
+#include <asm-generic/bitops/le.h>
+
 #define ext2_set_bit(nr,addr) \
 	__test_and_set_le_bit((nr), (unsigned long*)addr)
 #define ext2_clear_bit(nr, addr) \

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2008-02-04 20:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 20:02 [PATCH] Fix ext4 bitops Bastian Blank
2008-02-01 20:22 ` Andrew Morton
2008-02-01 21:04   ` Bastian Blank
2008-02-03 12:12     ` Heiko Carstens
2008-02-03 12:39       ` Geert Uytterhoeven
2008-02-03 12:39         ` Geert Uytterhoeven
2008-02-04  4:50         ` Aneesh Kumar K.V
2008-02-04  4:50           ` Aneesh Kumar K.V
2008-02-04  9:24           ` Heiko Carstens
2008-02-04  9:24             ` Heiko Carstens
2008-02-04  9:29             ` Aneesh Kumar K.V
2008-02-04  9:29               ` Aneesh Kumar K.V
2008-02-04 20:11           ` Geert Uytterhoeven
2008-02-04 20:11             ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2008-02-01 20:02 Bastian Blank
2008-02-03  7:36 ` Benjamin Herrenschmidt
2008-02-04  5:22 ` Aneesh Kumar K.V

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.