From patchwork Fri Feb 17 20:22:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 13145250 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 47571C05027 for ; Fri, 17 Feb 2023 20:24:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbjBQUYU (ORCPT ); Fri, 17 Feb 2023 15:24:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjBQUYQ (ORCPT ); Fri, 17 Feb 2023 15:24:16 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B2B60A50 for ; Fri, 17 Feb 2023 12:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676665401; 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=K5ZI+v0i1F3Jsex79dfpMaH/+vxYNgDnwx9OoQIYq98=; b=MSnYPTG3n1WkmsQo9UJQ9yYI0NcOe+6FhlV7gskO7tk3XVKXugEHLD19sQrFyFN4ol3PVU gp8UH6zNr/mOlEbUdJc7FJ7wGedaCldiXhybZ6oAn4axPSTC5CWnBYjY5cllHab8P2r4fo 3dd7PWv2Z5nXUUf432QfE/I4iVtEHaU= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-207-n1rRrwfrOIicTKJRtp8qxw-1; Fri, 17 Feb 2023 15:23:17 -0500 X-MC-Unique: n1rRrwfrOIicTKJRtp8qxw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 062C11C0515F; Fri, 17 Feb 2023 20:23:17 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 352D7C15BA0; Fri, 17 Feb 2023 20:23:15 +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 Subject: [PATCH 0/4] Remove #ifdef CONFIG_* from uapi headers (2023 edition) Date: Fri, 17 Feb 2023 21:22:57 +0100 Message-Id: <20230217202301.436895-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 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? Palmer Dabbelt (4): 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 Move USE_WCACHING to drivers/block/pktcdvd.c drivers/block/pktcdvd.c | 11 +++++++++++ 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 +++++ tools/include/uapi/linux/hw_breakpoint.h | 10 ---------- 9 files changed, 39 insertions(+), 47 deletions(-)