Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3013906imm; Mon, 24 Sep 2018 14:07:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV601YB8FpOA5ENENCNdJLimxAyNVZ+U6w0t7PckSD3ylgHAx9QmLkbkQ8cqU9MDj4GTXa8d0 X-Received: by 2002:a62:9cd7:: with SMTP id u84-v6mr530213pfk.90.1537823227806; Mon, 24 Sep 2018 14:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537823227; cv=none; d=google.com; s=arc-20160816; b=kE/ciAoYrpv6SLHHWsiRElSqyqMHmx6yvYCFkjGFFM4qGLDk9wNHvN+zZDAJZ/fbO3 gvWBS7pvGlauau60f4Wr7RKhgUco8PEFKJLp7NKsEMKbEbeD3uYiJet3qp7kCswYdEK4 zpgMUwjOnVLL+NzH1D05pP7/AX9XZ3L1mHsnMxqRdC8t3r74yyh6qPak+HRRpEi3sFgR +oDM+hqJ9TPczmXUsZoDkkV9GzTJ4oRRYgCqBeql8St/1K9sdCa42vzNQRlTdGF/Esqc V1GfLQlwwEkprfKoMtlphhW0aAzDoA/n+X2hzOvyoOf2WKkuFmhRbZbBBKnDd6TgNwv3 2QSg== 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=TFsIRsWNjlCfL0bq6/GHOfhJrfdLppGlvx5hOIDhj28=; b=AD/GHyU5No7ILBH6wWrnRfGion9DvrrD4rXEe2q13g6dNOfRem1Xr7kCpCh1Z4L06D Vp2OaFl/JaqWezRhT4Gw3XrfLiTd9642tQCCCtmxBFvz690SdwSrm2VHRH/3/RgrJAK2 T9oaWFyFwgczRb7p7Ev+hdkB6GPdqcT0Gf7/U+lEsf1l6pR7Ehu7Ak24n7WB9aWGW+BJ tJ87+0Mepo7j7ha/I3ROjdBCL42Zg7bKk4wYy0XwNW+lmxh9IZVGEV9Ssnz+auTjrMM/ NN99q5URpVGcevYTW0o3tIjcjz55G7M0anqMeT7FuzrpPAuBj8GcwipaeW/OaJRNydp4 lSfQ== 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 e22-v6si356838pgi.111.2018.09.24.14.06.52; Mon, 24 Sep 2018 14:07:07 -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; 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 S1728428AbeIYDKt (ORCPT + 99 others); Mon, 24 Sep 2018 23:10:49 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:41594 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728349AbeIYDKs (ORCPT ); Mon, 24 Sep 2018 23:10:48 -0400 Received: by mail-qt1-f196.google.com with SMTP id m15-v6so4962815qtp.8; Mon, 24 Sep 2018 14:06:42 -0700 (PDT) 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=TFsIRsWNjlCfL0bq6/GHOfhJrfdLppGlvx5hOIDhj28=; b=V5o6Co2AHC/mM6n371SpNrb3SADYWhl7JBBcjc8CvtGQxAuW7kIuKoiKqRdzH3Osas nA4CHLL7bO/J7Bc59CxoPW+8gvmB7k6LxlRAiO4hGqqcrZt97ne4xhlj27sJ+PcffcBT yWb4jL4UQpNsJMkZmzfUQ4lodSOroMrbDP+8TpL+aNeDV1NvZga7y1KV73mBWsD8DYyu KtmCanI/O9LRgrkqjiWHbZbCpWxnyheAoRUpdNr1j84oBwa/mv79bJSDUyUg/xvfWSIG EAMJE/t7X466bM9BnQLzn328wRKfjHbxY7xo3N4VumBw52C9Lhp2XW2xpu+nbHPoslxa IJUw== X-Gm-Message-State: ABuFfoj1+Qmmjudr7vkky7OchVWsjO1DPLYkLZPV+n4XzpA273V3KVpa QQ3WM0hU+a5YWD1faBM8aUjTbxIfmKxAWfyaymA= X-Received: by 2002:a0c:f642:: with SMTP id s2-v6mr526207qvm.115.1537823201514; Mon, 24 Sep 2018 14:06:41 -0700 (PDT) MIME-Version: 1.0 References: <1536036087-15260-1-git-send-email-firoz.khan@linaro.org> <1536036087-15260-2-git-send-email-firoz.khan@linaro.org> In-Reply-To: From: Arnd Bergmann Date: Mon, 24 Sep 2018 23:06:25 +0200 Message-ID: Subject: Re: [PATCH 1/4] sparc: Move __IGNORE* entries to non uapi header To: Firoz Khan Cc: David Miller , sparclinux , gregkh , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , linux-arch , 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 On Tue, Sep 18, 2018 at 1:53 PM Firoz Khan wrote: > > On 6 September 2018 at 20:58, Arnd Bergmann wrote: > > On Tue, Sep 4, 2018 at 6:42 AM Firoz Khan wrote: > > > >> +++ b/arch/sparc/include/uapi/asm/unistd.h > >> @@ -15,12 +15,6 @@ > >> #ifndef _UAPI_SPARC_UNISTD_H > >> #define _UAPI_SPARC_UNISTD_H > >> > >> -#ifndef __32bit_syscall_numbers__ > >> -#ifndef __arch64__ > >> -#define __32bit_syscall_numbers__ > >> -#endif > >> -#endif > > > > This is certainly required in the uapi header as of this patch, > > without it all the numbers are wrong when you include the > > file from user space. > > > > I suppose it can be removed later once the header is replaced > > with the two generated versions, > > The script will generate 2 versions, ie, unistd_32.h and unistd_64.h. > Please give few more pointer here. You still need to check at least for __arch64__ in asm/unistd.h in order to pick which header to include, right? Since the __32bit_syscall_numbers__ check was already in the public header file, it may also be possible that there is some user space application that sets this in order to get the 32-bit definitions. This might e.g. be needed for strace. Arnd