From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from DB3EHSOBE001.bigfish.com (db3ehsobe003.messaging.microsoft.com [213.199.154.141]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 36A0C1007D5 for ; Thu, 16 Feb 2012 10:28:49 +1100 (EST) From: Matthew McClintock To: Subject: [PATCH] powerpc/hugepage: Fix missing header file for parse_args Date: Wed, 15 Feb 2012 17:28:34 -0600 Message-ID: <1329348514-13262-1-git-send-email-msm@freescale.com> In-Reply-To: <14174.1329347321@neuling.org> References: <14174.1329347321@neuling.org> MIME-Version: 1.0 Content-Type: text/plain Cc: linux-next@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This seems to fix the following issue: arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages': arch/powerpc/mm/hugetlbpage.c:313: error: passing argument 5 of 'parse_args' makes integer from pointer without a cast include/linux/moduleparam.h:317: note: expected 's16' but argument is of type 'int (*)(char *, char *)' arch/powerpc/mm/hugetlbpage.c:313: error: too few arguments to function 'parse_args' Signed-off-by: Matthew McClintock --- arch/powerpc/mm/hugetlbpage.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c index 79c575d..a8b3cc7 100644 --- a/arch/powerpc/mm/hugetlbpage.c +++ b/arch/powerpc/mm/hugetlbpage.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include -- 1.7.6.1