From: Hauke Mehrtens Date: Fri, 22 Jul 2011 16:51:09 +0000 (+0200) Subject: compat: backport generic pr_fmt X-Git-Tag: compat-2011-09-28~21 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=65655292c6ed9c17e302650fb98ad0e44dc62826;p=~tnikolova%2Fcompat%2F.git compat: backport generic pr_fmt Signed-off-by: Hauke Mehrtens --- diff --git a/include/linux/compat-2.6.28.h b/include/linux/compat-2.6.28.h index fdb8fb2..c92c8b4 100644 --- a/include/linux/compat-2.6.28.h +++ b/include/linux/compat-2.6.28.h @@ -238,6 +238,10 @@ int pci_wake_from_d3(struct pci_dev *dev, bool enable); #define alloc_workqueue(name, flags, max_active) __create_workqueue(name, flags, max_active) +#ifndef pr_fmt +#define pr_fmt(fmt) fmt +#endif + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) */ #endif /* LINUX_26_28_COMPAT_H */