* [PATCH] backport: include printk.h into backport-3.11.c
@ 2013-06-25 10:46 Johannes Berg
2013-06-26 16:33 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2013-06-25 10:46 UTC (permalink / raw)
To: backports; +Cc: Johannes Berg
From: Johannes Berg <johannes.berg@intel.com>
This is needed for pr_warn(), otherwise it's not defined on
all kernels (it is sometimes pulled in by other headers.)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
backport/compat/backport-3.11.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/backport/compat/backport-3.11.c b/backport/compat/backport-3.11.c
index dc9073e..332db4a 100644
--- a/backport/compat/backport-3.11.c
+++ b/backport/compat/backport-3.11.c
@@ -15,6 +15,7 @@
#include <asm/mtrr.h>
#include <asm/cpufeature.h>
#include <linux/io.h>
+#include <linux/printk.h>
/* arch_phys_wc_add returns an MTRR register index plus this offset. */
#define MTRR_TO_PHYS_WC_OFFSET 1000
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] backport: include printk.h into backport-3.11.c
2013-06-25 10:46 [PATCH] backport: include printk.h into backport-3.11.c Johannes Berg
@ 2013-06-26 16:33 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2013-06-26 16:33 UTC (permalink / raw)
To: Johannes Berg; +Cc: backports, Johannes Berg
On Tue, Jun 25, 2013 at 3:46 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> From: Johannes Berg <johannes.berg@intel.com>
>
> This is needed for pr_warn(), otherwise it's not defined on
> all kernels (it is sometimes pulled in by other headers.)
>
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Thanks, applied and pushed!
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-26 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25 10:46 [PATCH] backport: include printk.h into backport-3.11.c Johannes Berg
2013-06-26 16:33 ` Luis R. Rodriguez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.