From patchwork Fri Mar 10 16:07:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 13169550 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73C68C64EC4 for ; Fri, 10 Mar 2023 16:13:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231219AbjCJQNT (ORCPT ); Fri, 10 Mar 2023 11:13:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231355AbjCJQMP (ORCPT ); Fri, 10 Mar 2023 11:12:15 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E822101101 for ; Fri, 10 Mar 2023 08:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678464485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=rFrEXheoagyGuGhHvjwBBfDFiECGzjLiqrbLv4R0rvY=; b=XPEbl9vCWwFdDQUDjvRAptlGPRVWgicVEisQXZy7NAnESBmr/RUp5nqbAL3Q4YmSC5ib1v ZydC/OtnrypGie+XT3fziTUIPOHVjQIX7WdQ704wUezpJT+s2sEpSkdMYDT+JqNzLhDDZo TvkhA+K14k8LwVjBbRMiQZrEwK7uuVw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-262-1qJTywyZPHettNgAt-TBhg-1; Fri, 10 Mar 2023 11:08:03 -0500 X-MC-Unique: 1qJTywyZPHettNgAt-TBhg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 08D53100F909; Fri, 10 Mar 2023 16:08:02 +0000 (UTC) Received: from thuth.com (unknown [10.45.224.202]) by smtp.corp.redhat.com (Postfix) with ESMTP id 89FD3492B00; Fri, 10 Mar 2023 16:07:59 +0000 (UTC) From: Thomas Huth To: linux-kernel@vger.kernel.org, Arnd Bergmann Cc: linux-arch@vger.kernel.org, Chas Williams <3chas3@gmail.com>, Palmer Dabbelt , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, Christoph Hellwig Subject: [PATCH v2 0/5] Remove #ifdef CONFIG_* from uapi headers (2023 edition) Date: Fri, 10 Mar 2023 17:07:52 +0100 Message-Id: <20230310160757.199253-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org uapi headers should not use the kernel-internal CONFIG switches. Palmer Dabbelt sent some patches to clean this up a couple of years ago, but unfortunately some of those patches never got merged. So here's a rebased version of those patches - since they are rather trivial, I hope it's OK for everybody if they could go through Arnd's "generic include/asm header files" branch. v2: - Added Reviewed-bys from v1 - Changed the CONFIG_CDROM_PKTCDVD_WCACHE patch according to Christoph's suggestion - Added final patch to clean the list in scripts/headers_install.sh Palmer Dabbelt (3): Move COMPAT_ATM_ADDPARTY to net/atm/svc.c Move ep_take_care_of_epollwakeup() to fs/eventpoll.c Move bp_type_idx to include/linux/hw_breakpoint.h Thomas Huth (2): pktcdvd: Remove CONFIG_CDROM_PKTCDVD_WCACHE from uapi header scripts: Update the CONFIG_* ignore list in headers_install.sh drivers/block/pktcdvd.c | 13 +++++++++---- fs/eventpoll.c | 13 +++++++++++++ include/linux/hw_breakpoint.h | 10 ++++++++++ include/uapi/linux/atmdev.h | 4 ---- include/uapi/linux/eventpoll.h | 12 ------------ include/uapi/linux/hw_breakpoint.h | 10 ---------- include/uapi/linux/pktcdvd.h | 11 ----------- net/atm/svc.c | 5 +++++ scripts/headers_install.sh | 4 ---- tools/include/uapi/linux/hw_breakpoint.h | 10 ---------- 10 files changed, 37 insertions(+), 55 deletions(-)