patch-2.4.23 linux-2.4.23/include/asm-ia64/sn/sn2/io.h

Next file: linux-2.4.23/include/asm-ia64/sn/sn2/shubio.h
Previous file: linux-2.4.23/include/asm-ia64/sn/sn2/arch.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-ia64/sn/sn2/io.h linux-2.4.23/include/asm-ia64/sn/sn2/io.h
@@ -9,7 +9,7 @@
 #ifndef _ASM_SN_SN2_IO_H
 #define _ASM_SN_SN2_IO_H
 
-extern void * sn_io_addr(unsigned long port); /* Forward definition */
+extern void * sn_io_addr(unsigned long port) __attribute__ ((__const__)); /* Forward definition */
 extern void sn_mmiob(void); /* Forward definition */
 
 #define __sn_mf_a()   __asm__ __volatile__ ("mf.a" ::: "memory")

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