Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2098930ybd; Mon, 24 Jun 2019 00:24:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUqcGLxWj8f99jJ60MA1uaCTEK8YSUrCLPX9eIWWqqE8tacD+OawVTFrPcQj4HvjP+/IZ8 X-Received: by 2002:a17:902:7687:: with SMTP id m7mr64959433pll.310.1561361073142; Mon, 24 Jun 2019 00:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561361073; cv=none; d=google.com; s=arc-20160816; b=rmQp7X9+ALQSBwjtWo/L58craW0EvStMvoCtPsvwVv5bPRzRtHagW3ZOjbkjNBm+0D NhkK5T1xky+b6oRhW+x0VA9KGoT5Umhfvp6VSRhTr2J/5Z7gro7C6MBef/PSIY/LZXBd L8ztrFczaXxf/qTjQUEKYCXkWF8XZbX1GMdOaADvT37yQ80inBqNF6gxLtCvPzsG2WqF c3YDXgltyXfcD7f5Nr8haY9vI4iJ/MC4f9QFssYg8mrUN7oGSiyRfSyd/azrjSk63TzG 3BbLQm4lfPhS7+jQhLvf19TUFNKSn/Ir0UL0/9SuUq1mZiifw5o1nvFcwUbsdMRhCGz8 RFCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=TotpZnCN0P+2hKd5rlwakHD/pixE3xKWkNj5X4REgxI=; b=ITrGiNMOG3Us18WqeM8eCTAabONL0BJ1TLuVb5hCzqtyYr/Yrl97jsWBOFORIT52dp lxfDgmENhWoS+4RiPdEVbQoJTloLx/ec+VPlUQBXF3MHBo/9yEULP6P6q/EPfP2tAhym U/Gor2GqIUM+2E76YBfrnCEbgutPa06v0sb8596Fp2uic2XhikOwVZxHOsWVo28BT1iT BnVq1+TRkaVrpa1v8/sDvQWt6pOoKe2GEHg3v0PHfznZeEVA0f0nnKZrxaczVK5+fa3V 1DFp2w/ybQX6aIZNz5cSZrlRJLA8ohftW2H79kyjOFCY1NKyE4wjskWTcJVlJzbRL4t3 l+Gw== 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 w1si9353405plq.125.2019.06.24.00.24.17; Mon, 24 Jun 2019 00:24:33 -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 S1726973AbfFXHXB (ORCPT + 99 others); Mon, 24 Jun 2019 03:23:01 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:34992 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbfFXHXB (ORCPT ); Mon, 24 Jun 2019 03:23:01 -0400 Received: from p5b06daab.dip0.t-ipconnect.de ([91.6.218.171] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hfJJI-0000ag-5o; Mon, 24 Jun 2019 09:22:40 +0200 Date: Mon, 24 Jun 2019 09:22:39 +0200 (CEST) From: Thomas Gleixner To: Christoph Hellwig cc: Oleg Nesterov , Arnd Bergmann , x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar Subject: Re: [PATCH 4/5] x86: don't use asm-generic/ptrace.h In-Reply-To: <20190624054728.30966-5-hch@lst.de> Message-ID: References: <20190624054728.30966-1-hch@lst.de> <20190624054728.30966-5-hch@lst.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Jun 2019, Christoph Hellwig wrote: > Doing the indirection through macros for the regs accessors just > makes them harder to read, so implement the helpers directly. > > Note that only the helpers actually used are implemented now. > > Signed-off-by: Christoph Hellwig > Acked-by: Ingo Molnar > Acked-by: Oleg Nesterov Reviewed-by: Thomas Gleixner