On Mon, Jul 18, 2005 at 07:06:55PM -0700, david mosberger wrote:
> This one is wrong. It should use __attribute_const__ instead. If you
> just drop the "const", it will result in worse code.
Ok, I see why reading about attribute const. Thanks!
--
Signed-Off-By: Ian Wienand <[EMAIL PROTECTED]>
diff --git a/include/asm-ia64/io.h b/include/asm-ia64/io.h
--- a/include/asm-ia64/io.h
+++ b/include/asm-ia64/io.h
@@ -120,7 +120,7 @@ static inline void ___ia64_mmiowb(void)
ia64_mfa();
}
-static inline const unsigned long
+static inline __attribute_const__ unsigned long
__ia64_get_io_port_base (void)
{
extern unsigned long ia64_iobase;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html