diff for duplicates of <20060126033806.GI11138@miraclelinux.com> diff --git a/a/1.txt b/N1/1.txt index 401c27f..0b76059 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,8 @@ include/asm-powerpc/bitops.h include/asm-parisc/bitops.h Index: 2.6-git/include/asm-generic/bitops.h -=================================--- 2.6-git.orig/include/asm-generic/bitops.h 2006-01-25 19:14:11.000000000 +0900 +=================================================================== +--- 2.6-git.orig/include/asm-generic/bitops.h 2006-01-25 19:14:11.000000000 +0900 +++ 2.6-git/include/asm-generic/bitops.h 2006-01-25 19:14:11.000000000 +0900 @@ -5,6 +5,7 @@ @@ -83,9 +84,9 @@ Index: 2.6-git/include/asm-generic/bitops.h +/* include/linux/byteorder does not support "unsigned long" type */ +static inline unsigned long ext2_swabp(const unsigned long * x) +{ -+#if BITS_PER_LONG = 64 ++#if BITS_PER_LONG == 64 + return (unsigned long) __swab64p((u64 *) x); -+#elif BITS_PER_LONG = 32 ++#elif BITS_PER_LONG == 32 + return (unsigned long) __swab32p((u32 *) x); +#else +#error BITS_PER_LONG not defined @@ -95,9 +96,9 @@ Index: 2.6-git/include/asm-generic/bitops.h +/* include/linux/byteorder doesn't support "unsigned long" type */ +static inline unsigned long ext2_swab(const unsigned long y) +{ -+#if BITS_PER_LONG = 64 ++#if BITS_PER_LONG == 64 + return (unsigned long) __swab64((u64) y); -+#elif BITS_PER_LONG = 32 ++#elif BITS_PER_LONG == 32 + return (unsigned long) __swab32((u32) y); +#else +#error BITS_PER_LONG not defined @@ -137,7 +138,7 @@ Index: 2.6-git/include/asm-generic/bitops.h + tmp = ext2_swabp(p); +found_first: + tmp |= ~0UL << size; -+ if (tmp = ~0UL) /* Are any bits zero? */ ++ if (tmp == ~0UL) /* Are any bits zero? */ + return result + size; /* Nope. Skip ffz */ +found_middle: + return result + ffz(tmp); diff --git a/a/content_digest b/N1/content_digest index 652485f..c8df6a1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,7 +5,7 @@ "ref\020060126032713.GA9984@miraclelinux.com\0" "From\0mita@miraclelinux.com (Akinobu Mita)\0" "Subject\0[PATCH 10/12] generic ext2_{set,clear,test,find_first_zero,find_next_zero}_bit()\0" - "Date\0Thu, 26 Jan 2006 03:38:06 +0000\0" + "Date\0Thu, 26 Jan 2006 12:38:06 +0900\0" "To\0Grant Grundler <iod00d@hp.com>\0" "Cc\0Linux Kernel Development <linux-kernel@vger.kernel.org>" " linux-ia64@vger.kernel.org\0" @@ -31,7 +31,8 @@ "include/asm-parisc/bitops.h\n" "\n" "Index: 2.6-git/include/asm-generic/bitops.h\n" - "=================================--- 2.6-git.orig/include/asm-generic/bitops.h\t2006-01-25 19:14:11.000000000 +0900\n" + "===================================================================\n" + "--- 2.6-git.orig/include/asm-generic/bitops.h\t2006-01-25 19:14:11.000000000 +0900\n" "+++ 2.6-git/include/asm-generic/bitops.h\t2006-01-25 19:14:11.000000000 +0900\n" "@@ -5,6 +5,7 @@\n" " \n" @@ -96,9 +97,9 @@ "+/* include/linux/byteorder does not support \"unsigned long\" type */\n" "+static inline unsigned long ext2_swabp(const unsigned long * x)\n" "+{\n" - "+#if BITS_PER_LONG = 64\n" + "+#if BITS_PER_LONG == 64\n" "+\treturn (unsigned long) __swab64p((u64 *) x);\n" - "+#elif BITS_PER_LONG = 32\n" + "+#elif BITS_PER_LONG == 32\n" "+\treturn (unsigned long) __swab32p((u32 *) x);\n" "+#else\n" "+#error BITS_PER_LONG not defined\n" @@ -108,9 +109,9 @@ "+/* include/linux/byteorder doesn't support \"unsigned long\" type */\n" "+static inline unsigned long ext2_swab(const unsigned long y)\n" "+{\n" - "+#if BITS_PER_LONG = 64\n" + "+#if BITS_PER_LONG == 64\n" "+\treturn (unsigned long) __swab64((u64) y);\n" - "+#elif BITS_PER_LONG = 32\n" + "+#elif BITS_PER_LONG == 32\n" "+\treturn (unsigned long) __swab32((u32) y);\n" "+#else\n" "+#error BITS_PER_LONG not defined\n" @@ -150,7 +151,7 @@ "+\ttmp = ext2_swabp(p);\n" "+found_first:\n" "+\ttmp |= ~0UL << size;\n" - "+\tif (tmp = ~0UL)\t/* Are any bits zero? */\n" + "+\tif (tmp == ~0UL)\t/* Are any bits zero? */\n" "+\t\treturn result + size; /* Nope. Skip ffz */\n" "+found_middle:\n" "+\treturn result + ffz(tmp);\n" @@ -183,4 +184,4 @@ " \n" #endif /* _ASM_GENERIC_BITOPS_H */ -a2d452995b3a64bd9063c7385a6668e42205b32bee18e045a902a58272213ed4 +1e5b5bd56e24461210ca00c9205b45710095763df67a14b90cae7094ce732dc8
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.