Re: [PATCH 14/17] input: update gfp/slab.h includes

From: Stephen Rothwell
Date: Mon Mar 29 2010 - 23:22:03 EST


Hi Tejun,

On Tue, 30 Mar 2010 02:52:42 +0900 Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> Implicit slab.h inclusion via percpu.h is about to go away. Make sure
> gfp.h or slab.h is included as necessary.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
> drivers/char/sysrq.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c
> index 532c56c..593562d 100644
> --- a/drivers/char/sysrq.c
> +++ b/drivers/char/sysrq.c
> @@ -41,7 +41,7 @@
> #include <linux/hrtimer.h>
> #include <linux/oom.h>
> #include <linux/input.h>
> -#include <linux/gfp.h>
> +#include <linux/slab.h>
>
> #include <asm/ptrace.h>
> #include <asm/irq_regs.h>

This patch does not apply to the input tree. That tree does not have the
#include <linux/gfp.h>
line (your tree (slabh) adds that later in the linux-next cycle).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature