patch-2.4.8 linux/include/linux/raid/md_compatible.h
Next file: linux/include/linux/raid/md_k.h
Previous file: linux/include/linux/quotaops.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Aug 10 18:15:44 2001
- Orig file:
v2.4.7/linux/include/linux/raid/md_compatible.h
- Orig date:
Tue Aug 7 12:51:06 2001
diff -u --recursive --new-file v2.4.7/linux/include/linux/raid/md_compatible.h linux/include/linux/raid/md_compatible.h
@@ -29,7 +29,7 @@
#ifdef __i386__
/* 001 */
-extern __inline__ int md_cpu_has_mmx(void)
+static __inline__ int md_cpu_has_mmx(void)
{
return test_bit(X86_FEATURE_MMX, &boot_cpu_data.x86_capability);
}
@@ -51,7 +51,7 @@
#define md_put_user put_user
/* 007 */
-extern inline int md_capable_admin(void)
+static inline int md_capable_admin(void)
{
return capable(CAP_SYS_ADMIN);
}
@@ -60,7 +60,7 @@
#define MD_FILE_TO_INODE(file) ((file)->f_dentry->d_inode)
/* 009 */
-extern inline void md_flush_signals (void)
+static inline void md_flush_signals (void)
{
spin_lock(¤t->sigmask_lock);
flush_signals(current);
@@ -68,7 +68,7 @@
}
/* 010 */
-extern inline void md_init_signals (void)
+static inline void md_init_signals (void)
{
current->exit_signal = SIGCHLD;
siginitsetinv(¤t->blocked, sigmask(SIGKILL));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)