diff for duplicates of <20060201090334.305937000@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index a8b655f..123e6a4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -16,7 +16,8 @@ Signed-off-by: Akinobu Mita <mita@miraclelinux.com> 1 files changed, 12 insertions(+), 376 deletions(-) Index: 2.6-git/include/asm-sparc/bitops.h -=================================--- 2.6-git.orig/include/asm-sparc/bitops.h +=================================================================== +--- 2.6-git.orig/include/asm-sparc/bitops.h +++ 2.6-git/include/asm-sparc/bitops.h @@ -152,386 +152,22 @@ static inline void change_bit(unsigned l : "memory", "cc"); @@ -111,23 +112,23 @@ Index: 2.6-git/include/asm-sparc/bitops.h -{ - int num = 0; - -- if ((word & 0xffff) = 0) { +- if ((word & 0xffff) == 0) { - num += 16; - word >>= 16; - } -- if ((word & 0xff) = 0) { +- if ((word & 0xff) == 0) { - num += 8; - word >>= 8; - } -- if ((word & 0xf) = 0) { +- if ((word & 0xf) == 0) { - num += 4; - word >>= 4; - } -- if ((word & 0x3) = 0) { +- if ((word & 0x3) == 0) { - num += 2; - word >>= 2; - } -- if ((word & 0x1) = 0) +- if ((word & 0x1) == 0) - num += 1; - return num; -} @@ -217,7 +218,7 @@ Index: 2.6-git/include/asm-sparc/bitops.h - -found_first: - tmp |= ~0UL << size; -- if (tmp = ~0UL) /* Are any bits zero? */ +- if (tmp == ~0UL) /* Are any bits zero? */ - return result + size; /* Nope. */ -found_middle: - return result + ffz(tmp); @@ -351,7 +352,7 @@ Index: 2.6-git/include/asm-sparc/bitops.h - -found_first: - tmp = __swab32(tmp) | (~0UL << size); -- if (tmp = ~0UL) /* Are any bits zero? */ +- if (tmp == ~0UL) /* Are any bits zero? */ - return result + size; /* Nope. */ - return result + ffz(tmp); - diff --git a/a/content_digest b/N1/content_digest index 1452382..7b5fc74 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,11 +1,12 @@ "ref\020060201090224.536581000@localhost.localdomain\0" "From\0Akinobu Mita <mita@miraclelinux.com>\0" "Subject\0[patch 35/44] sparc: use generic bitops\0" - "Date\0Wed, 01 Feb 2006 09:02:59 +0000\0" + "Date\0Wed, 01 Feb 2006 18:02:59 +0900\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0sparclinux@vger.kernel.org" " Akinobu Mita <mita@miraclelinux.com>\0" "\00:1\0" + "fn\0sparc.patch\0" "b\0" "- remove __{,test_and_}{set,clear,change}_bit() and test_bit()\n" "- remove ffz()\n" @@ -25,7 +26,8 @@ " 1 files changed, 12 insertions(+), 376 deletions(-)\n" "\n" "Index: 2.6-git/include/asm-sparc/bitops.h\n" - "=================================--- 2.6-git.orig/include/asm-sparc/bitops.h\n" + "===================================================================\n" + "--- 2.6-git.orig/include/asm-sparc/bitops.h\n" "+++ 2.6-git/include/asm-sparc/bitops.h\n" "@@ -152,386 +152,22 @@ static inline void change_bit(unsigned l\n" " \t: \"memory\", \"cc\");\n" @@ -120,23 +122,23 @@ "-{\n" "-\tint num = 0;\n" "-\n" - "-\tif ((word & 0xffff) = 0) {\n" + "-\tif ((word & 0xffff) == 0) {\n" "-\t\tnum += 16;\n" "-\t\tword >>= 16;\n" "-\t}\n" - "-\tif ((word & 0xff) = 0) {\n" + "-\tif ((word & 0xff) == 0) {\n" "-\t\tnum += 8;\n" "-\t\tword >>= 8;\n" "-\t}\n" - "-\tif ((word & 0xf) = 0) {\n" + "-\tif ((word & 0xf) == 0) {\n" "-\t\tnum += 4;\n" "-\t\tword >>= 4;\n" "-\t}\n" - "-\tif ((word & 0x3) = 0) {\n" + "-\tif ((word & 0x3) == 0) {\n" "-\t\tnum += 2;\n" "-\t\tword >>= 2;\n" "-\t}\n" - "-\tif ((word & 0x1) = 0)\n" + "-\tif ((word & 0x1) == 0)\n" "-\t\tnum += 1;\n" "-\treturn num;\n" "-}\n" @@ -226,7 +228,7 @@ "-\n" "-found_first:\n" "-\ttmp |= ~0UL << size;\n" - "-\tif (tmp = ~0UL) /* Are any bits zero? */\n" + "-\tif (tmp == ~0UL) /* Are any bits zero? */\n" "-\t\treturn result + size; /* Nope. */\n" "-found_middle:\n" "-\treturn result + ffz(tmp);\n" @@ -360,7 +362,7 @@ "-\n" "-found_first:\n" "-\ttmp = __swab32(tmp) | (~0UL << size);\n" - "-\tif (tmp = ~0UL) /* Are any bits zero? */\n" + "-\tif (tmp == ~0UL) /* Are any bits zero? */\n" "-\t\treturn result + size; /* Nope. */\n" "-\treturn result + ffz(tmp);\n" "-\n" @@ -429,4 +431,4 @@ "\n" -- -88949b9a9309707e54dc30a84fded9aecd539900a40bf5967975bf82eb435ff5 +49df20c860fa9384e3e1e23ef1941f1751feebaedaa10b0383d6006b18ce9b31
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.