Message ID | 20090526115251.3362.95071.stgit@mchn012c.ww002.siemens.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h index dad43ef..131210a 100644 --- a/external-module-compat-comm.h +++ b/external-module-compat-comm.h @@ -562,6 +562,15 @@ static inline int cancel_work_sync(struct work_struct *work) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) + +static inline void flush_work(struct work_struct *work) +{ + cancel_work_sync(work); +} + +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) struct pci_dev;
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> --- external-module-compat-comm.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html