Received: from eggs.gnu.org ([2001:4830:134:3::10]:38454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbgkT-0003hi-Ts for qemu-devel@nongnu.org; Wed, 08 Feb 2017 23:54:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbgkO-0008Gp-Ut for qemu-devel@nongnu.org; Wed, 08 Feb 2017 23:54:26 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36139) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbgkO-0008Gd-Lo for qemu-devel@nongnu.org; Wed, 08 Feb 2017 23:54:20 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v194sGjv067275 for ; Wed, 8 Feb 2017 23:54:18 -0500 Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) by mx0a-001b2d01.pphosted.com with ESMTP id 28gbgmmne8-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 08 Feb 2017 23:54:18 -0500 Received: from localhost by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 9 Feb 2017 14:54:12 +1000 Date: Thu, 9 Feb 2017 15:53:13 +1100 From: Sam Bobroff References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Message-Id: <20170209045312.GA6905@tungsten.ozlabs.ibm.com> Subject: Re: [Qemu-devel] [Qemu-ppc] [RFC PATCH 2/9] Update headers using update-linux-headers.sh List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au, qemu-arm@nongnu.org On Tue, Feb 07, 2017 at 01:59:52PM +0100, Thomas Huth wrote: > On 07.02.2017 03:56, Sam Bobroff wrote: > > This provides some new definitions needed by ISA 3.00 guests. > > > > It is a large change because this is the first import since > > some kernel header files have become autogenerated. > > > > Note: update-linux-headers.sh currently generates a change that > > (incorrectly) removes virtio_mmio.h and the change has been manually > > adjusted to prevent that. > > > > Signed-off-by: Sam Bobroff > > --- > > include/standard-headers/linux/input-event-codes.h | 2 +- > > include/standard-headers/linux/pci_regs.h | 8 + > > include/standard-headers/linux/virtio_ids.h | 1 + > > linux-headers/asm-arm/kvm.h | 2 + > > linux-headers/asm-arm/unistd.h | 419 +-------------------- > > linux-headers/asm-powerpc/kvm.h | 25 ++ > > linux-headers/asm-powerpc/unistd.h | 1 + > > linux-headers/asm-x86/kvm_para.h | 4 +- > > linux-headers/linux/kvm.h | 11 +- > > linux-headers/linux/vfio.h | 10 + > > 10 files changed, 63 insertions(+), 420 deletions(-) > [...] > > diff --git a/linux-headers/asm-arm/unistd.h b/linux-headers/asm-arm/unistd.h > > index ceb5450c81..155571b874 100644 > > --- a/linux-headers/asm-arm/unistd.h > > +++ b/linux-headers/asm-arm/unistd.h > > @@ -17,409 +17,14 @@ > > > > #if defined(__thumb__) || defined(__ARM_EABI__) > > #define __NR_SYSCALL_BASE 0 > > +#include > > #else > > #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE > > +#include > > #endif > > > > -/* > > - * This file contains the system call numbers. > > - */ > [...] > > Looks like the contents of asm-arm/unistd.h has been moved to two new > files, unistd-eabi.h and unistd-oabi.h, but they are not part of your > patch. I guess update-linux-headers.sh needs a fix for that? > > Thomas Ah thanks! I'll look at it. Should I try to fix the other problem with update-linux-headers.sh at the same time? (I'm referring to the issue I noted in the commit message, about virtio_mmio.h) Cheers, Sam.