Update of /cvsroot/linux-mips/linux/include/asm-mips64/ip32
In directory usw-pr-cvs1:/tmp/cvs-serv9038/include/asm-mips64/ip32
Modified Files:
crime.h mace.h
Log Message:
Replace all incarnations of extern inline with static inline.
Index: crime.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips64/ip32/crime.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- crime.h 2001/09/04 22:41:02 1.1
+++ crime.h 2001/10/31 18:26:52 1.2
@@ -23,10 +23,10 @@
#endif
#ifndef _LANGUAGE_ASSEMBLY
-extern inline u64 crime_read_64 (unsigned long __offset) {
+static inline u64 crime_read_64 (unsigned long __offset) {
return *((volatile u64 *) (CRIME_BASE + __offset));
}
-extern inline void crime_write_64 (unsigned long __offset, u64 __val) {
+static inline void crime_write_64 (unsigned long __offset, u64 __val) {
*((volatile u64 *) (CRIME_BASE + __offset)) = __val;
}
#endif
Index: mace.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips64/ip32/mace.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mace.h 2001/09/04 22:41:02 1.1
+++ mace.h 2001/10/31 18:26:53 1.2
@@ -37,30 +37,46 @@
/*
* XXX Some of these are probably not needed (or even legal?)
*/
-extern inline u8 mace_read_8 (unsigned long __offset) {
+static inline u8 mace_read_8 (unsigned long __offset)
+{
return *((volatile u8 *) (MACE_BASE + __offset));
}
-extern inline u16 mace_read_16 (unsigned long __offset) {
+
+static inline u16 mace_read_16 (unsigned long __offset)
+{
return *((volatile u16 *) (MACE_BASE + __offset));
}
-extern inline u32 mace_read_32 (unsigned long __offset) {
+
+static inline u32 mace_read_32 (unsigned long __offset)
+{
return *((volatile u32 *) (MACE_BASE + __offset));
}
-extern inline u64 mace_read_64 (unsigned long __offset) {
+
+static inline u64 mace_read_64 (unsigned long __offset)
+{
return *((volatile u64 *) (MACE_BASE + __offset));
}
-extern inline void mace_write_8 (unsigned long __offset, u8 __val) {
+
+static inline void mace_write_8 (unsigned long __offset, u8 __val)
+{
*((volatile u8 *) (MACE_BASE + __offset)) = __val;
}
-extern inline void mace_write_16 (unsigned long __offset, u16 __val) {
+
+static inline void mace_write_16 (unsigned long __offset, u16 __val)
+{
*((volatile u16 *) (MACE_BASE + __offset)) = __val;
}
-extern inline void mace_write_32 (unsigned long __offset, u32 __val) {
+
+static inline void mace_write_32 (unsigned long __offset, u32 __val)
+{
*((volatile u32 *) (MACE_BASE + __offset)) = __val;
}
-extern inline void mace_write_64 (unsigned long __offset, u64 __val) {
+
+static inline void mace_write_64 (unsigned long __offset, u64 __val)
+{
*((volatile u64 *) (MACE_BASE + __offset)) = __val;
}
+
#endif
#undef BIT
|