Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2298792ybv; Mon, 24 Feb 2020 02:52:26 -0800 (PST) X-Google-Smtp-Source: APXvYqy7nSHGGmBjpdylWb0gXpXaCI3L6Vsxywk4A9maD6MkAJ8nde84UWYXlPMhWlLGlR273V9H X-Received: by 2002:aca:4f4c:: with SMTP id d73mr12342807oib.107.1582541545977; Mon, 24 Feb 2020 02:52:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582541545; cv=none; d=google.com; s=arc-20160816; b=RH6M1QBw5n7afySmuHcvznqt7uUNp45PvNV8tVkIUYRLZ6FUd0B6nyjzamzl8j7BXE G5KZ98aTjP+mfh0rYQp09TXhObpUS0aLkSD/emP4b6B7a3WZKZDybJqvrRKbTAs1Z85x y5Fw+ngwMTBDpDLfVesu5i6ck6hZePcKauwkqC3lf3d4/ootrjUXgSJjM4RWUTVzep7A zjfNiPwdYHL95++M6lsw9QzjVye9amAzyS5gXst5q0GDTrd4Dh/BetERmrJwDBGB4eCz w38tctdQnpi8ZkHv2jl0NLmkMMATjoMV0PpeInuSmYB25Ena9J6ePuXbg0ise5u6JWYD 3E6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=jc2MOo4RJ+14VTJRINC5R+uCJeUGpDuWdaViTSLxAg8=; b=BkXtFaymXxDdKXimqlY+2ld4qV6Kee19XAqiD3ReBemf+POngtXRxCltCL+uz2BVyG qgTpTxs00eo89uCghRMOwi9f6LuBJnKjeZZr0+9H4/WBwxNIJLiRP6N81KeOoNc/qT4b /Ge8CmmImK+ftzuc1hF1swEOfEiHScGKyosWbM+8L+5xLuYDI84zHwQuargLMfjryvgP +DFjHb54oQehPBXC/qty/LdB8Zn4wBlYbEQWWBayg5j7UR6jgu6W9cHiFqWQkjbWhkKR 9nBm/LeHwC1orNYhtTKbOzEbwz7p4m/OQq9LjPq9Y1KwvFnVPby5V1hdHBfYjTLvTz7N LYFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=KqIfyeCv; 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 f28si6409023otc.110.2020.02.24.02.52.14; Mon, 24 Feb 2020 02:52:25 -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=@ellerman.id.au header.s=201909 header.b=KqIfyeCv; 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 S1727327AbgBXKwB (ORCPT + 99 others); Mon, 24 Feb 2020 05:52:01 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:50813 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726673AbgBXKwB (ORCPT ); Mon, 24 Feb 2020 05:52:01 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 48QzQl4qKTz9sPk; Mon, 24 Feb 2020 21:51:59 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1582541519; bh=jc2MOo4RJ+14VTJRINC5R+uCJeUGpDuWdaViTSLxAg8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KqIfyeCv06Ng6IOFtBDJhgtKs/rQ0w+PVXFoe1SU4w047OD4BN3Mt570rHTfyP98U Lm9GqEpNTCUdr4ZPwIcy2vVw1vN35bBLGv5O6kgC1MKGv3QliImvPz6OsR0vnQBvDF WkCTd7Rcz5Xh4rsMiS4y76e8sPSUGFbmJNkyjHYF6oBKdFSHXnt01cjROXwoFTNCh4 uJXLjwatNBiKj5V7Uk2PHCuHmstaMnkNVQneJ6/9yl8kQwlfrRjDJoRW06Q6g4qBzR U0nbuhunDdiF8w/1E/xLkOLN52i4jTzCI4k0n0G4WaWQJLqO0b+f4p5RGnXVhwBWFb BLcecUyA2GJ5w== From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , mikey@neuling.org Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [RFC PATCH v2 04/12] powerpc/ptrace: split out VSX related functions. In-Reply-To: <920fe735d5f3dd882331b36a895bb756bd415fe7.1561735587.git.christophe.leroy@c-s.fr> References: <920fe735d5f3dd882331b36a895bb756bd415fe7.1561735587.git.christophe.leroy@c-s.fr> Date: Mon, 24 Feb 2020 21:51:59 +1100 Message-ID: <875zfw1cmo.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > diff --git a/arch/powerpc/kernel/ptrace/ptrace-novsx.c b/arch/powerpc/kernel/ptrace/ptrace-novsx.c > new file mode 100644 > index 000000000000..55fbbb4aa9d7 > --- /dev/null > +++ b/arch/powerpc/kernel/ptrace/ptrace-novsx.c > @@ -0,0 +1,83 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include I suspect we probably don't need all those headers anymore. But I guess we'll clean them up in future, as it's very tedious work to trim the list. > + > +#include It's preferable to use: #include "ptrace-decl.h" cheers