Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3815834iog; Tue, 28 Jun 2022 03:26:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s7CE/M9dX8i7gBJlon5pn6STnrC9JUlgXXqc0QXaN5Ulo90cd35UqyINWgtVNVcKXBOMaU X-Received: by 2002:a50:ce4a:0:b0:435:c543:87e8 with SMTP id k10-20020a50ce4a000000b00435c54387e8mr22330439edj.295.1656411970270; Tue, 28 Jun 2022 03:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656411970; cv=none; d=google.com; s=arc-20160816; b=eAnCMWtKkn+x1kfEDvvIctoU3h+TbThaC+QnDZM2YDLbFn0nT2PTlUKS31y49+mqTv ZJOmXsMlTXntXNx8eswsCl7OdywXxB7VNp5ONIXeVlXNfucpbpiBsY0VtRukeEErlVf+ vcl9fX+buR+86bcmzcg9d56cEtcamk4gzXeaD4oNCRIZ/jeii888Y3T7xjLzC2Uyvxjf kOzp2CFNCFlmCpkl9erHDwPVQMJ/vMAy/MFqS22BrT2UR6a7vIumerMFHLRs5QIXNtm7 JO9kkUWGzm9KKCKEW4IOezeESGmpbRN/0CHsSIxLZuxX9mMZfIRuMCk0YGw0JFdev0+l DjSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=+Sjjp8jJ7/w0ICOZmYCWvjg7GfEBySyn/+1KfIaOHFY=; b=YIej0PMTA84N2dpzVvXhYnu//9q3A09a8czcdOF0Xsfqy87LCq2YctPwSEykte8ybW VQ8+sjxEj0w5iRGrk/bJB2FnjDKPJwqcuCFskxH7u4oHiSdhibNofxIM9oRSuASxnfWz 8YsGA2bjCw2Mm5Wnycx2np7dYG5ikZv+a1ZMhwdIuKquj3N6QeoE1Xfhs4S4u5AFQXKi 9leLE2ySNjyzFcWCpaqW152JSZzSx+PlFsE7g3/tC9uPF+wprhg5ezt3y3FPxnZpZQ2e MWOiI1mCHpohoXAmzpYhn2cmnYTjQO4+fMpIhldT3gFl+HDlsbVNJhh8bFDAugj8KpTi CVoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=RQpMHh1m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 11-20020a508e4b000000b0041e0cd418dasi15457843edx.115.2022.06.28.03.25.44; Tue, 28 Jun 2022 03:26:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=RQpMHh1m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344574AbiF1J7O (ORCPT + 99 others); Tue, 28 Jun 2022 05:59:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344483AbiF1J7H (ORCPT ); Tue, 28 Jun 2022 05:59:07 -0400 Received: from mail-ed1-x54a.google.com (mail-ed1-x54a.google.com [IPv6:2a00:1450:4864:20::54a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 354662E691 for ; Tue, 28 Jun 2022 02:59:05 -0700 (PDT) Received: by mail-ed1-x54a.google.com with SMTP id z19-20020a05640240d300b00437633081abso7529279edb.0 for ; Tue, 28 Jun 2022 02:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=+Sjjp8jJ7/w0ICOZmYCWvjg7GfEBySyn/+1KfIaOHFY=; b=RQpMHh1moTKaRIBjxXnduRTRj1+XOs4vQaRansot4504YpMW6JzxCakSHA0ZB4Cbth 8fE7QYR5gdwuuaesCuj6XqcfWzoDjKmsmgaVQUd9ciCsaFlXLjQc6VaTmcJ3HkDwTkCz lOzuMdxSDRGinWsvPnlsnskh/2yJjhaHqEUVX8Gz1KwncT77mu6T69CeJ3IHvSJcRCvX nH9J/YmoHWMI0HlmqnbB1Mr1kCY3tLb/zQaeGzLuHfAt6JljFU2hCl0oBIAG6AyvE7rU WE53JOuwEcSvVKQkeW0RqqwgqUTloh7LaQJOmf46hlOvJ76Ol3QtEYr4vWDHFDTWSw58 K/+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=+Sjjp8jJ7/w0ICOZmYCWvjg7GfEBySyn/+1KfIaOHFY=; b=6UDccxncq/arRFdZZNWYBxScxF2XHrFhzYUnj90bAyUDVQZVOy89s2lIbuhsEcz2+J Lo1tSW33weXo3jUgN8kQFHnaeN2hUdXJQPPnlYNq+/hm8J/x+njp/dI0NfCtCEhfhGKp 9yH2AbMePBBShJwx4QEYG36M1DpbZnUpec+6v6ErsnsUWwtCIYhG/fbSbDuLfiQki2qz ywZV6vFHWmQSXIoIi9j0BdE/MhVO7l1BglQIQDmUSBiPQmdBGDWkz4FZ25RxLTPNghj4 9oRjFlJ568fGyEC1IO0q+zNhCEtvOBRRd2nVuJUb5SnpYEU/TPhb6HBnvOy00JJNwTTe iV5g== X-Gm-Message-State: AJIora8Y8yHBP018RS7sQxvqOgDD4TTICAuKPzKkEjEiOPe6PaenZWmX s0oCfM6hbnS5N/GTkWyOODf+lzfvCA== X-Received: from elver.muc.corp.google.com ([2a00:79e0:9c:201:3496:744e:315a:b41b]) (user=elver job=sendgmr) by 2002:a05:6402:1386:b0:431:6911:a151 with SMTP id b6-20020a056402138600b004316911a151mr22335610edv.105.1656410343984; Tue, 28 Jun 2022 02:59:03 -0700 (PDT) Date: Tue, 28 Jun 2022 11:58:22 +0200 In-Reply-To: <20220628095833.2579903-1-elver@google.com> Message-Id: <20220628095833.2579903-3-elver@google.com> Mime-Version: 1.0 References: <20220628095833.2579903-1-elver@google.com> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v2 02/13] perf/hw_breakpoint: Clean up headers From: Marco Elver To: elver@google.com, Peter Zijlstra , Frederic Weisbecker , Ingo Molnar Cc: Thomas Gleixner , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Dmitry Vyukov , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-perf-users@vger.kernel.org, x86@kernel.org, linux-sh@vger.kernel.org, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up headers: - Remove unused - Remove unused - Remove unused - Remove unused - Add for EXPORT_SYMBOL_GPL(). - Add for mutex. - Sort alphabetically. - Move to top to test it compiles on its own. Signed-off-by: Marco Elver Acked-by: Dmitry Vyukov --- v2: * Move to start of series. --- kernel/events/hw_breakpoint.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/kernel/events/hw_breakpoint.c b/kernel/events/hw_breakpoint.c index f32320ac02fd..1b013968b395 100644 --- a/kernel/events/hw_breakpoint.c +++ b/kernel/events/hw_breakpoint.c @@ -17,23 +17,22 @@ * This file contains the arch-independent routines. */ +#include + +#include +#include +#include +#include #include -#include -#include -#include #include #include -#include +#include +#include +#include #include #include -#include #include -#include -#include -#include -#include -#include /* * Constraints data */ -- 2.37.0.rc0.161.g10f37bed90-goog