patch-2.4.21 linux-2.4.21/include/asm-ia64/bitops.h

Next file: linux-2.4.21/include/asm-ia64/delay.h
Previous file: linux-2.4.21/include/asm-ia64/acpi.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-ia64/bitops.h linux-2.4.21/include/asm-ia64/bitops.h
@@ -2,8 +2,8 @@
 #define _ASM_IA64_BITOPS_H
 
 /*
- * Copyright (C) 1998-2001 Hewlett-Packard Co
- * Copyright (C) 1998-2001 David Mosberger-Tang <davidm@hpl.hp.com>
+ * Copyright (C) 1998-2003 Hewlett-Packard Co
+ *	David Mosberger-Tang <davidm@hpl.hp.com>
  */
 
 #include <asm/system.h>
@@ -289,7 +289,7 @@
 static inline unsigned long
 ia64_fls (unsigned long x)
 {
-	double d = x;
+	long double d = x;
 	long exp;
 
 	__asm__ ("getf.exp %0=%1" : "=r"(exp) : "f"(d));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)