From patchwork Fri Dec 3 11:57:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Ellerman X-Patchwork-Id: 1563205 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=nurLRZSr; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J5BD645rRz9t1r for ; Fri, 3 Dec 2021 22:58:14 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4J5BD61X0Pz3bc4 for ; Fri, 3 Dec 2021 22:58:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=nurLRZSr; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4J5BCt1lwsz2xgb for ; Fri, 3 Dec 2021 22:58:02 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=nurLRZSr; dkim-atps=neutral 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 4J5BCm6qd7z4xcb; Fri, 3 Dec 2021 22:57:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1638532677; bh=xyZx4/DF0Sity4wnykA89j4KdJ/FnKNFjU79VJ9Haf4=; h=From:To:Subject:Date:From; b=nurLRZSru9xQ0YhxSppXpzYDUb2Ygy5JLXvlRQ5Ff0ZHGWkErotk+D/EQGD+EQLR0 0t9SaGfEYNtjC48UOqLcl4++2jhJBXYNBMVye6uPJE/jOg1GOifi7z2Hlm9gYVTKQH l1zhe0VaciCku/WAL6ejixgZg11agPf0Hp9YAOdYURb9ng5KQNwt/hHY/1z+vQHQmk YqWYYF7Pc0U1aPE+yTc/3csttWd2urKqcrjpP3bfwshv1Au9qETFwgDATWgetJQVQA mSIYNa/e1FF5Gf0K68jVjUOaz+v1g45orEGP634mzfG8Dkq5Rd7IkOcBDUMuCcfBhU RxmeYaXzcyrag== From: Michael Ellerman To: Subject: [PATCH] powerpc: Drop unused CONFIG_PPC_HAS_FEATURE_CALLS Date: Fri, 3 Dec 2021 22:57:55 +1100 Message-Id: <20211203115755.2906587-1-mpe@ellerman.id.au> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Since ~2002 we have had CONFIG_PPC_HAS_FEATURE_CALLS defined as a faux CONFIG symbol, firstly in include/asm-ppc/machdep.h, and then later copied over to powerpc when ppc and ppc64 were merged. The last in-tree usage was removed in 2005 in commit 7bbd827750e6 ("[PATCH] ppc64: very basic desktop g5 sound support"). I haven't been able to find any meaningful references to it anywhere else, so I suspect it has been unused for many years. It confuses scripts/checkkconfigsymbols.py, and seems to serve no purpose, so drop it. Note that it's not in a uapi header, ie. it could only be used by out-of-tree kernel modules, not general userspace code. Signed-off-by: Michael Ellerman --- If anything does use it, just let us know. --- arch/powerpc/include/asm/machdep.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index e821037f74f0..75687e1f994a 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -10,11 +10,6 @@ #include -/* We export this macro for external modules like Alsa to know if - * ppc_md.feature_call is implemented or not - */ -#define CONFIG_PPC_HAS_FEATURE_CALLS - struct pt_regs; struct pci_bus; struct device_node;