diff --git a/src/afs/LINUX/osi_machdep.h b/src/afs/LINUX/osi_machdep.h index a64a0c8462..54efc99b62 100644 --- a/src/afs/LINUX/osi_machdep.h +++ b/src/afs/LINUX/osi_machdep.h @@ -111,7 +111,12 @@ static inline time_t osi_Time(void) { #define VN_RELE(V) iput((V)) #define afs_suser(x) capable(CAP_SYS_ADMIN) -#define wakeup afs_osi_Wakeup +extern int afs_osi_Wakeup(void *event); +static inline void +wakeup(void *event) +{ + afs_osi_Wakeup(event); +} #define vType(V) ((AFSTOV((V)))->i_mode & S_IFMT) #define vSetType(V, type) AFSTOV((V))->i_mode = ((type) | (AFSTOV((V))->i_mode & ~S_IFMT)) /* preserve mode */