From 34dd5d583f9182f8c848d980491ba36d03a27d03 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 25 Nov 2010 15:49:04 +0100 Subject: [PATCH] compat: backport pr_warn Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.38.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-2.6.38.h b/include/linux/compat-2.6.38.h index 85eac512ac1b..dfc406e95981 100644 --- a/include/linux/compat-2.6.38.h +++ b/include/linux/compat-2.6.38.h @@ -54,6 +54,8 @@ static inline unsigned long ewma_read(const struct ewma *avg) return DIV_ROUND_CLOSEST(avg->internal, avg->factor); } +#define pr_warn pr_warning + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)) */ #endif /* LINUX_26_38_COMPAT_H */ -- 2.30.2