Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4398273imm; Mon, 8 Oct 2018 21:57:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV60hBgOaUQx/WZ+1HpwI0AQgyPy4AZxOi9bEY3tn3+V0/fdMQ5C/WX/e7tJQW/YienYxCpLA X-Received: by 2002:a63:f448:: with SMTP id p8-v6mr23811897pgk.124.1539061061274; Mon, 08 Oct 2018 21:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539061061; cv=none; d=google.com; s=arc-20160816; b=H441yjEcoDq0Irf46bbOoxCdHKdxvF0Z0YudFohsfyPDYWtGASiN2MSdNQ3EZwbXLh Y++h8H7WpvEHJkj/dPT37eWD/imDZNrcQxuCapH0rBlSE/RUiJQRSA2Bpz27Q6hocOuE 2239IA4iyR9r7H3e7aml+DDA8llpHzQK6bxQtNNShL/j5eoVtq6MFmiKXTBt6KJJXkab QcBhGp12elKVlEQKTyKuBWprEQpC82yl/ZusxttWrL+BhUtyQ/Jx2gXAxf9dTJm0gvIB usFyR4nNJigBkmLFWi7UNzY3UJx0WYi97I0t2950TwIZjY5guHvcOOzGqVaJwQm19Y6s bywA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rKOdz1WoF9+ASgSxpoT05XJYq3BadarNrkSIFhl6RUM=; b=wPcdexThH7sv4gl0WwUml1obY6Xmfdr4gMCnZ62AhvE43wLP6YDhD+kOtzQaoLZKZd djWHwR2NPHPx2jNMBJxxqrcelo8yqVEbhssGvhu2MfkHqnONWd7dmmfkrsUX2xLa8658 2oTjdge0AmSt/7YvEsMD7sn9Npbh+LdHerQMyJ3ZWTLvkPybL+MsHbpdQ2GQGXi7X/ao CzBSWj0I52axdAxIcUIUyOz1r+unWikVsPBtkTNtwMCUlaB5/iP/LF95T/81RQNKJBr0 pm5j52FrjLoPmQzo5UzcqDAqn2UVoZTuKHj/TyZ9KDRE0MiCQh5JUhJ3gc3RoNpHoZQy jSQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=biaPpnSq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si21466561plt.65.2018.10.08.21.57.27; Mon, 08 Oct 2018 21:57:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=biaPpnSq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726523AbeJIMMD (ORCPT + 99 others); Tue, 9 Oct 2018 08:12:03 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:33271 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726461AbeJIMMD (ORCPT ); Tue, 9 Oct 2018 08:12:03 -0400 Received: by mail-yw1-f68.google.com with SMTP id m127-v6so132380ywb.0 for ; Mon, 08 Oct 2018 21:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rKOdz1WoF9+ASgSxpoT05XJYq3BadarNrkSIFhl6RUM=; b=biaPpnSqZ0b3rxKbfqxmynR45nl0Mnuy3JuGqb0IEeMlWRJRC8tZOrqOFrr+XOsD83 s/+Mbq0oWKqWafovVZgLJbpmCb5HI/oIsa8dAEUxThdF0GAWAYHcgIRdbjMrHb0L6atu Hzjk/dGhK1vmXzV7Ilw5MoGXrWExjqlKlQrLY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rKOdz1WoF9+ASgSxpoT05XJYq3BadarNrkSIFhl6RUM=; b=ff3OxGiQrmk4Jy4llo0AtxpEGuINSj3vwDQNxz/dLoM0+tOVSBg5P1QR7lrW9HVxHC LZgwkU/FSjOYj562cnxX5jpviK2oTUYzsB7A7cw7slqUT3+ehgO4t6Xh1e035RGilQoB E15Osr3wS9aOdRS/9UqSWUhF3LJEWeMrer1t5JVbpCESvxIDaIEObSpCgnvrxIUQ5CKz cgycgD1vzTN7cvoTst1V0PlxtX8LNtCQoMdEFR5Rt0J+2BC2Ubp0sY2bSyOG/zJWYJox Bmb3vkBPrHhEqc8Dj/OrcgNh7+sSu7DUyhxINuAuhkZ3zji3XpgvvvPxYdHDpQlG4lM4 u/RQ== X-Gm-Message-State: ABuFfohI5oNbg49e9u1sLn80trlDazMQGFmIU6b6rhTVZSwAilZaaX3R c7ImABPCcsEgC93J8NozDZKdbODgBD3aTkGILVrf/A== X-Received: by 2002:a81:21c1:: with SMTP id h184-v6mr14816471ywh.367.1539061020087; Mon, 08 Oct 2018 21:57:00 -0700 (PDT) MIME-Version: 1.0 References: <1538975801-13735-1-git-send-email-firoz.khan@linaro.org> <1538975801-13735-5-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Firoz Khan Date: Tue, 9 Oct 2018 10:26:48 +0530 Message-ID: Subject: Re: [PATCH v3 4/6] parisc: uapi header and system call table file generation To: Helge Deller Cc: linux-parisc@vger.kernel.org, "James E . J . Bottomley" , Thomas Gleixner , Greg Kroah-Hartman , Philippe Ombredanne , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , Deepa Dinamani , Marcin Juszkiewicz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Helge, On Tue, 9 Oct 2018 at 01:13, Helge Deller wrote: > > On 08.10.2018 07:16, Firoz Khan wrote: > > System call table generation script must be run to generate > > unistd_32/64.h and syscall_table_32/64/c32.h files. This patch > > will have changes which will invokes the script. > > > > This patch will generate unistd_32/64.h and syscall_table_ > > 32/64/c32.h files by the syscall table generation script > > invoked by arch/parisc/Makefile and the generated files against > > the removed files will be identical. > > > > The generated uapi header file will be included in uapi/asm/ > > unistd_32/64.h and generated system call table support file will > > be included by arch/sparc/kernel/syscall_table_32/64.S file. > > > > Signed-off-by: Firoz Khan > ... > > diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h > > index f10d065..76e3a3b 100644 > > --- a/arch/parisc/include/uapi/asm/unistd.h > > +++ b/arch/parisc/include/uapi/asm/unistd.h > > @@ -2,374 +2,13 @@ > > #ifndef _UAPI_ASM_PARISC_UNISTD_H_ > > #define _UAPI_ASM_PARISC_UNISTD_H_ > > > ... > > - > > -#ifdef __KERNEL__ > > -#define __NR_syscalls 351 > > +#define __NR_Linux 0 > > +#ifdef CONFIG_64BIT > > You can't use CONFIG_64BIT in an uapi header file. > It's only defined inside the kernel when building the kernel. > Please use > #ifdef __LP64__ > instead here. Sure. Thanks! Firoz > > > +#include > > +#else > > +#include > > #endif