From: Ingo Molnar Subject: Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit Xen support Date: Thu, 26 Jun 2008 12:57:22 +0200 Message-ID: <20080626105722.GA12640@elte.hu> References: <20080625084253.GA11524@elte.hu> <20080625152212.GA3442@elte.hu> <4862A6A9.1030109@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4862A6A9.1030109@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Nick Piggin , Mark McLoughlin , xen-devel , Eduardo Habkost , Vegard Nossum , Stephen Tweedie , x86@kernel.org, LKML , Yinghai Lu List-Id: xen-devel@lists.xenproject.org * Jeremy Fitzhardinge wrote: >> It quickly broke the build in testing: >> >> include/asm/pgalloc.h: In function =E2=80=98paravirt_pgd_free': >> include/asm/pgalloc.h:14: error: parameter name omitted >> arch/x86/kernel/entry_64.S: In file included from =20 >> arch/x86/kernel/traps_64.c:51:include/asm/pgalloc.h: In function=20 >> =E2=80=98paravirt_pgd_free': >> include/asm/pgalloc.h:14: error: parameter name omitted >> =20 > > No, looks like my fault. The non-PARAVIRT version of =20 > paravirt_pgd_free() is: > > static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *) {} > > but C doesn't like missing parameter names, even if unused. > > This should fix it: that fixed the build but now we've got a boot crash with this config: time.c: Detected 2010.304 MHz processor. spurious 8259A interrupt: IRQ7. BUG: unable to handle kernel NULL pointer dereference at 00000000000000= 00 IP: [<0000000000000000>] PGD 0 Thread overran stack, or stack corrupted Oops: 0010 [1] SMP CPU 0 with: http://redhat.com/~mingo/misc/config-Thu_Jun_26_12_46_46_CEST_2008.bad i've pushed out the current tip/xen-64bit branch, so that you can see=20 how things look like at the moment, but i cannot put it into tip/master=20 yet. Ingo