linux-mips
[Top] [All Lists]

[PATCH] fix 64-bit build

To: linux-mips@linux-mips.org
Subject: [PATCH] fix 64-bit build
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon, 04 Dec 2006 00:33:42 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
commit d89d8e0637a5e4e0a12e90c4bc934d0d4c335239 break 64-bit build.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

diff --git a/include/asm-mips/atomic.h b/include/asm-mips/atomic.h
index 7978d8e..3657670 100644
--- a/include/asm-mips/atomic.h
+++ b/include/asm-mips/atomic.h
@@ -375,7 +375,7 @@ #define atomic_add_negative(i,v) (atomic
 
 #ifdef CONFIG_64BIT
 
-typedef struct { volatile __s64 counter; } atomic64_t;
+typedef struct { volatile long counter; } atomic64_t;
 
 #define ATOMIC64_INIT(i)    { (i) }
 

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fix 64-bit build, Atsushi Nemoto <=