From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753923AbYJUKzN (ORCPT ); Tue, 21 Oct 2008 06:55:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751726AbYJUKzA (ORCPT ); Tue, 21 Oct 2008 06:55:00 -0400 Received: from pasmtpb.tele.dk ([80.160.77.98]:52943 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751067AbYJUKzA (ORCPT ); Tue, 21 Oct 2008 06:55:00 -0400 Date: Tue, 21 Oct 2008 12:54:05 +0200 From: Jens Axboe To: linux-kernel@vger.kernel.org Cc: Linus Torvalds , Andrew Morton , oomichi@mxs.nes.nec.co.jp Subject: Re: [PATCH] Fix kexec compile error, undeclared 'vmlist' Message-ID: <20081021105404.GD22217@kernel.dk> References: <20081021105228.GC22217@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081021105228.GC22217@kernel.dk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 21 2008, Jens Axboe wrote: > Hi, > > Current -git fails to compile, at least on ppc: > > kernel/kexec.c: In function 'crash_save_vmcoreinfo_init': > kernel/kexec.c:1374: error: 'vmlist' undeclared (first use in this function) > kernel/kexec.c:1374: error: (Each undeclared identifier is reported only once > kernel/kexec.c:1374: error: for each function it appears in.) > kernel/kexec.c:1410: error: invalid use of undefined type 'struct vm_struct' > > It's missing a vmalloc.h include, introduced by > acd99dbf54020f5c80b9aa2f2ea86f43cb285b02. > > Signed-off-by: Jens Axboe > > diff --git a/kernel/kexec.c b/kernel/kexec.c > index 777ac45..ac0fde7 100644 > --- a/kernel/kexec.c > +++ b/kernel/kexec.c > @@ -30,6 +30,7 @@ > #include > #include > #include > +#include > > #include > #include So this was already fixed and pushed out by Tony, so nevermind the extra noise. Apparently I had pulled this morning just before, so missed the last few changes. -- Jens Axboe