Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp845990imu; Thu, 3 Jan 2019 08:08:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN4IpsctunZWEfPpVk9hZNxbxIBtg6rhFbOFs+MUKFO4ovL+8t5Siou2IyujPhxn3X00I6+k X-Received: by 2002:a17:902:7c85:: with SMTP id y5mr47283667pll.63.1546531733704; Thu, 03 Jan 2019 08:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546531733; cv=none; d=google.com; s=arc-20160816; b=uGmBmA2TQKwhwTS77AU36bKbKAtnKfdtVFY1lxJNukj3KSrKlwaQAis/hRHj4fvA78 3ZXggPcysULrMYd9abHCP/fayF8A4WGzWCGt3qMuxS96IHnnHvOz+2i8YhONfY/jZ91v 7sbHwOyaOHPsHe4KQQ+7A+HUyNxXSqYrTkCoLLU0lnv9oO+K44+vNHjWc6TwMVW7UlFw JXXyQK15a0sVlO5mtttc6RtdFkrCTU+NqSWJu5uv9ZXkB7ajAtPgKAy0QyvJBCHg9t5Z /UhB1GGpgdRLKLPBk27TH9X5WbeKzHHOSaadwItMhj1nURaZ4opOcE7kT+8b20KHZMz7 LE1w== 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; bh=6E3wOfuIOPyL9tn2f5bySIyFFjUH4UJZizadSEeWfIk=; b=zD5ikMWduglONv4W9tGCsZzl4i+i7mcL4GC85LXApuG4yqpbrhpgT8ydRn1dJTqLcL wTpDvO3eMuPhcCPqIiVNQM5k44ufENqugkR5HUH0olz8wrzTJZ1aYUlRJ0op6P77pO8c 2B0Y6ZJxbA8TMDXewaBQr+yejCKOec5JpddZRZ9tbgvSPO4yjm3xt/DX6HWTuiMGzgIj AL3lnFLk/9r5jyafVkoNx77Ibi/wvIJj6uH2GjYxa8FO+BPUMUXxbHOts4v476phjZBN sPqLTofHE/GLG7RnblZNHrSJK9D5gfbeO5iwvFdkmNNY4iewCHptPdZxBFnlfBCXGRIo ZukA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si19574307pfg.233.2019.01.03.08.08.37; Thu, 03 Jan 2019 08:08:53 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730769AbfACMdu (ORCPT + 99 others); Thu, 3 Jan 2019 07:33:50 -0500 Received: from mail-vs1-f68.google.com ([209.85.217.68]:44849 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbfACMdu (ORCPT ); Thu, 3 Jan 2019 07:33:50 -0500 Received: by mail-vs1-f68.google.com with SMTP id z23so17397514vsj.11; Thu, 03 Jan 2019 04:33:49 -0800 (PST) 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=6E3wOfuIOPyL9tn2f5bySIyFFjUH4UJZizadSEeWfIk=; b=rkmKU8n4y9X8q2aWPQnVN0HJs4WofIg5Jwm4UKiRIcG8VKR+PqwO16li/gplejlhYq +qyD0a6tiFo1tgt4DzmlxpKGhLfR+N1mKssmbR9UGnMgCEpNXrcVu/3jxEmnTTSZgFBB XHdDyudDU4X379Eol3/60nqB/in1RYiqVM23sipk0vLS7rzLTo/DGdEg9oEzQPZOouj8 /jQI5oGUVi2pkfZX0wSY0zy8hg8X12xIglK4LxazrUYm/ci2g5iSBpMcYTan1wOzuFWr rT3O/Ae5JpVaNhvQ7XRHYmG20bntBZmUFRTO9D04ufbHRSkHupVDD7q5zOZQz6MgnT8n FxTg== X-Gm-Message-State: AA+aEWYYSECNzqu8mI8VoBDcSTS7w1+4MXVG6S77f/uUgeiUGFNjmXCx oBKjNkn4KcWfUm0bwVf88XNJCROBh58aLHIPSp8= X-Received: by 2002:a67:c202:: with SMTP id i2mr17130315vsj.11.1546518828987; Thu, 03 Jan 2019 04:33:48 -0800 (PST) MIME-Version: 1.0 References: <1546439331-18646-1-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 3 Jan 2019 13:33:36 +0100 Message-ID: Subject: Re: [PATCH] scripts: unify system call table generation scripts To: Firoz Khan Cc: Paul Burton , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , Tony Luck , Helge Deller , Satheesh Rajendran , Michal Simek , Michael Ellerman , Richard Henderson , Max Filippov , "David S . Miller" , 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 Firoz, On Thu, Jan 3, 2019 at 12:55 PM Firoz Khan wrote: > On Thu, 3 Jan 2019 at 17:04, Firoz Khan wrote: > > > +fileguard=_UAPI_ASM_`basename "$out" | sed \ > > > > Currently, all but MIPS have the architecture name included in > > the file guard. Shouldn't that be retained? > > I was planning to do something similar to this: > -fileguard=_UAPI_ASM_`basename "$out" | sed \ > +fileguard=_UAPI_ASM_${ARCH}_`basename "$out" | sed \ > > But later I thought, the generated file will present inside arch > directory (eg: arch/m68k/include/generated/uapi/asm/unistd.h). > So Is that required to mention the architecture name in the file > guard as it is generated inside the respective arch directory? unistd_32.h is copied to /usr/include/asm/unistd_32.h by "make headers_install", after which the architecture name is no longer present in the path. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds