| To: | linux-cvs-patches@linux-mips.org |
|---|---|
| Subject: | CVS Update@linux-mips.org: linux |
| From: | ralf@linux-mips.org |
| Date: | Wed, 13 Jul 2005 11:02:05 +0100 |
| Reply-to: | linux-mips@linux-mips.org |
| Sender: | linux-cvs-patches-bounce@linux-mips.org |
CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/07/13 11:01:59
Modified files:
include/asm-mips: bitops.h
Log message:
Fix 64-bit build.
diff -urN linux/include/asm-mips/bitops.h linux/include/asm-mips/bitops.h
--- linux/include/asm-mips/bitops.h 2005/07/12 14:52:51 1.62
+++ linux/include/asm-mips/bitops.h 2005/07/13 10:01:59 1.63
@@ -668,7 +668,7 @@
s = 1; if ((word & 0x80000000)) s = 0; r -= s;
#endif
#if defined(CONFIG_MIPS64)
- int r = 63;
+ int r = 63, s;
word = ~word;
s = 32; if ((word & 0xffffffff00000000)) s = 0; r -= s; word <<= s;
s = 16; if ((word & 0xffff000000000000)) s = 0; r -= s; word <<= s;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | CVS Update@linux-mips.org: linux, ralf |
|---|---|
| Next by Date: | CVS Update@linux-mips.org: linux, ralf |
| Previous by Thread: | CVS Update@linux-mips.org: linux, ralf |
| Next by Thread: | CVS Update@linux-mips.org: linux, ralf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |