From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] mtd: fix nandsim sched.h references Date: Mon, 15 Dec 2008 15:37:33 -0800 Message-ID: <4946EA3D.8060604@oracle.com> References: <20081216020642.fc1007d9.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from rcsinet13.oracle.com ([148.87.113.125]:54119 "EHLO rgminet13.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752905AbYLOXkL (ORCPT ); Mon, 15 Dec 2008 18:40:11 -0500 In-Reply-To: <20081216020642.fc1007d9.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , David Woodhouse , linux-mtd@lists.infradead.org, akpm From: Randy Dunlap Fix sched.h references: build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1326: error: dereferencing pointer to incomplete type build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1326: error: 'PF_MEMALLOC' undeclared (first use in this function) build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1328: error: dereferencing pointer to incomplete type build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1335: error: dereferencing pointer to incomplete type build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1335: error: 'PF_MEMALLOC' undeclared (first use in this function) build-r7149.out:make[4]: *** [drivers/mtd/nand/nandsim.o] Error 1 Signed-off-by: Randy Dunlap --- drivers/mtd/nand/nandsim.c | 1 + 1 file changed, 1 insertion(+) --- linux-next-20081215.orig/drivers/mtd/nand/nandsim.c +++ linux-next-20081215/drivers/mtd/nand/nandsim.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include