Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp927523imu; Fri, 9 Nov 2018 08:14:21 -0800 (PST) X-Google-Smtp-Source: AJdET5fyVLwPDHq+pUxGfuUsodU3MSSvg74VrgErSpVP7CAVaAtOHiROYnA3NwrvPas8Cd9sSnui X-Received: by 2002:a62:25c2:: with SMTP id l185-v6mr9948494pfl.64.1541780061241; Fri, 09 Nov 2018 08:14:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541780061; cv=none; d=google.com; s=arc-20160816; b=dj5q5LvL7C/8dD8fZGlS3bWxp/QEi9jpR4cYb1IGTvpwLFmoAJbvzlMrhTbsY9IVdg cyNkR7+B/MuRRaR+M7btq+nWjL0yiN0iLlZGpmYJEc7Xal08I1VbnhxlK0+l2P+0pHIW u2B19DmU8PXVSImlynuNXWJctVR0UlN2n6MZVy2Ds9TwxLT5WM08owdAgZlV+m9erIpB 71TXbJnbDSWEneITdl+xcWptYWDHjA61dWJTF8aBLJ04WCFmt3J3O2BV6C+qB+R4P24K ekGVs39FXzyXxM0GbO3PBPR+/2QB2XZQqE6YkAr913PxKdqJZ0Zhxjd67m/oQfQ9WOvM 8B3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=nQH7SD0d3a97arVqZHOJsi9CTq95Qs8G6YR4ra7lzJs=; b=vHcC1ClQVEjpBZpqLx0MMrvqjWTAzy3B8Vc4yth0NpH/1CSY5uaU28Hd091NV0I7pW sBa6Yp33joDE3/rdAsEz3bDL22jTbXLo5WHCyeSNHj2DBqVww7LxNFdfvmgCoFcPUZVz Ih1E/yrSVABeHhlXVsn8vF+4plGosDaqrdsHYg/pgb6fTusMSFdcpul5cVQbTDHpEriG v/nnr+zCZNrLedHG4BxC+AykZsGEGsjX5Rf9CAiAphZPNO1hCt2Yi9WVe6afNzzEbqss fVJdksh7o8eGOifxExrur/d2/EvkryOREzq/NOjnPswOauV3GozUOfC8OjNYkdmkVSp0 VcuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=iIQpBkIU; 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=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 101-v6si8754853pld.398.2018.11.09.08.13.27; Fri, 09 Nov 2018 08:14:21 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b=iIQpBkIU; 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728495AbeKJBwi (ORCPT + 99 others); Fri, 9 Nov 2018 20:52:38 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:54528 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727784AbeKJBwh (ORCPT ); Fri, 9 Nov 2018 20:52:37 -0500 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 6100E24E209B; Fri, 9 Nov 2018 08:11:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1541779884; bh=nQH7SD0d3a97arVqZHOJsi9CTq95Qs8G6YR4ra7lzJs=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=iIQpBkIUxtNviXaExTKGhi7LndHlEoDyppS7KcHteOxXUyk3ihtnl2x83DYAxKj3Y gcFzI/eIORmQK24dEKS4NKzcni1TIX89XyMcGGchVbmShRg3GAZ8GW+YYOp8CoMyg5 Rh3Mymlh9Jjvmn1HxOJMW+T7Zp6kr08SqsrfPuiUBiLNXxEDwMaS4rnpBtxDYNSjpz cAKnJYUnCf4hg03cyo+BpEDLa3DPdakaTpTt7ETwqKqD/xSfv67HCUjvTzCvimbzR6 zocFYscxtWTnMtEbGHE1D+3pU06vl6olgU8w+qRQ/x02gSFbRQhJmxVbqlMRyCy8QJ qv8+9uFYo04yw== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 35C4A335C; Fri, 9 Nov 2018 08:11:24 -0800 (PST) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 9 Nov 2018 08:11:23 -0800 Received: from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099]) by DE02WEHTCB.internal.synopsys.com ([::1]) with mapi id 14.03.0415.000; Fri, 9 Nov 2018 17:11:21 +0100 From: Alexey Brodkin To: "luto@amacapital.net" CC: "linux-kernel@vger.kernel.org" , "linux-audit@redhat.com" , "vineet.gupta1@synopsys.com" , "eparis@redhat.com" , "ldv@altlinux.org" , "linux-snps-arc@lists.infradead.org" , "luto@kernel.org" , "paul@paul-moore.com" , "lineprinter@altlinux.org" Subject: Re: [PATCH 06/13] arc: define syscall_get_arch() Thread-Topic: [PATCH 06/13] arc: define syscall_get_arch() Thread-Index: AQHUd9qaMCi82XFEfUiWRqvqbbOyn6VHbuEAgAAPSYCAAAK8AIAACBoAgAAEOYA= Date: Fri, 9 Nov 2018 16:11:21 +0000 Message-ID: <215d66fd9a197b631973c9ff75943b4c1216b899.camel@synopsys.com> References: <20181109031605.GF21511@altlinux.org> <456a69c6e01a6ab5b1af6d459a249388f8b4c1f5.camel@synopsys.com> In-Reply-To: Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.30.2 (3.30.2-2.fc29) x-originating-ip: [10.225.15.87] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5keSwNCg0KT24gRnJpLCAyMDE4LTExLTA5IGF0IDA3OjU2IC0wODAwLCBBbmR5IEx1dG9t aXJza2kgd3JvdGU6DQo+ID4gT24gTm92IDksIDIwMTgsIGF0IDc6MjcgQU0sIEFsZXhleSBCcm9k a2luIDxhbGV4ZXkuYnJvZGtpbkBzeW5vcHN5cy5jb20+IHdyb3RlOg0KPiA+IA0KPiA+IEhpIEFu ZHksDQo+ID4gDQo+ID4gPiBPbiBGcmksIDIwMTgtMTEtMDkgYXQgMDc6MTcgLTA4MDAsIEFuZHkg THV0b21pcnNraSB3cm90ZToNCj4gPiA+IE9uIEZyaSwgTm92IDksIDIwMTggYXQgNjoyMiBBTSBB bGV4ZXkgQnJvZGtpbg0KPiA+ID4gPGFsZXhleS5icm9ka2luQHN5bm9wc3lzLmNvbT4gd3JvdGU6 DQo+ID4gPiA+IEhpIERtaXRyeSwNCj4gPiA+ID4gDQo+ID4gPiA+ID4gT24gRnJpLCAyMDE4LTEx LTA5IGF0IDA2OjE2ICswMzAwLCBEbWl0cnkgVi4gTGV2aW4gd3JvdGU6DQo+ID4gPiA+ID4gc3lz Y2FsbF9nZXRfYXJjaCgpIGlzIHJlcXVpcmVkIHRvIGJlIGltcGxlbWVudGVkIG9uIGFsbCBhcmNo aXRlY3R1cmVzDQo+ID4gPiA+ID4gdGhhdCB1c2UgdHJhY2Vob29r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