Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp566779lqp; Wed, 12 Jun 2024 09:31:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5jPhjR8orQC0upu/9de6XKWDgaWJySpcW9suOqC4HvgWgHlSEit6mtJqihgvrInWXiiymauGUIr8/yFuSNx+dscMt6ybo0PuWzOKzug== X-Google-Smtp-Source: AGHT+IFw63rRWCg4YKGRaTyhPyNSF+CANbffu/347rO+fYcZTmfrD++kRbX8M4jG+WgpK4GjLdSr X-Received: by 2002:a05:6e02:156d:b0:375:ae17:a2cd with SMTP id e9e14a558f8ab-375cd1e7a9bmr26067555ab.27.1718209881277; Wed, 12 Jun 2024 09:31:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718209881; cv=pass; d=google.com; s=arc-20160816; b=BmjVeLg3zARCD/JzguyscBt+xsUHOY55vGfHDhl0EWz62nCyTxLXqjTIe/me+DtsDq zkN6yC8jL2mF0lzC6L1Ks0F4BWXGPDw8QllZy8GaKZCWVT1a4xukgcG7ZN9lOZE8Hjaq NeiG8s7cO7bJmEBqVocCSEyvDCK4gmXPtJ5fUAB4Y8e2cCiytO7JQyfAJ+KKJUuQm+1K O+JDt7NDELWmfjYanPbMj8CtIYZOA1BG2GqQv9TZs9fpLNlaGQru1rmPyqfL2eKgpH+7 Ww86T2pJ9jymvt7Z9jff8uwfgIZxrh6EyUdidt+mN1Uz250QjGFzn52s6jZiiCdsH1xj vHYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=JGtLyKoREiEOmx7wDJGW4C8qgL9en6bNl7/R6+ftYlk=; fh=SkYqG12lVX830H5evdfGu0Gth0IXYqQo3IaQA4V3xGc=; b=HND4yQz6qquV0F1rYq0kEDtnY1FSNK38OEKdJYc88SfEyjNCGI5o5X06HKmVj1caMK 2DuA38GpMQAk4w/IFwq7m2A8FlOBexVKDrdv3Z7WemrX7GNJEVPaPgwopQUNwjqM3p2b pFNWRXb4jvdwtLKqHi1LF9Obt/mpMa0C93TcLEHtBLD8ThMeGJHZKnxdrwApupEW0Hb5 D69B11qhNji+gsyr6qsn/+6Sl9OSEyn8VS7eZDx837/xnpd1Y1miXmRL1rVzvbinAnnj dFK9hxsOSqLDIPSe/dQCqPp8WUWPQ5s3DFbiUlr9skTmE2xRZbo5XvJwpCcWXNNaTCjA CDDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-211860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fd8506a0c3si212641a12.37.2024.06.12.09.31.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:31:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-211860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 79111B2A705 for ; Wed, 12 Jun 2024 16:05:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E890183062; Wed, 12 Jun 2024 16:00:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B17AB1822ED; Wed, 12 Jun 2024 16:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718208051; cv=none; b=Hsk+8cke07v3Ad+Ydo3K7/XzJiJGjr6qLbFbxxmwhUB97tRKR9rvI4IgnQoc32MI5YtDux4s3I+k4EgVnern8Nu0YNOaSeseZxaRW+hh4vHYS6lq8z+RgL1Wak9t3C657jTcfe9EeQNPK21Ox6/qQPfg7YHu3Jp+HGl4W+q+gcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718208051; c=relaxed/simple; bh=n0QsiZQsAJTKkyb6hHoKbMV6PFtIrWGSkhstBzpufGo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=lL7+vsATBvZmRSvKgbMDs/NFokDVOhIHiez+k0CAlwTzTS4zMK5WUf6hswjPUNrsN1GRHbKKfw9ahanUMU5rAOEDkul4dSExG44Zuy5yeld00Dawi3mSf8y3cyGPOwQ92iOyn13eAASiwga44l0zGu4WERaYnpgty6cuyUqVseg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5AB8C1042; Wed, 12 Jun 2024 09:01:13 -0700 (PDT) Received: from e122027.arm.com (unknown [10.57.42.88]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C61793F73B; Wed, 12 Jun 2024 09:00:47 -0700 (PDT) From: Steven Price To: Arnd Bergmann Cc: Steven Price , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fixmap: Remove unused set_fixmap_offset_io() Date: Wed, 12 Jun 2024 17:00:38 +0100 Message-Id: <20240612160038.522924-1-steven.price@arm.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The macro set_fixmap_offset_io() was added in commit f774b7d10e21 ("arm64: fixmap: fix missing sub-page offset for earlyprintk") but then commit 8ef0ed95ee04 ("arm64: remove arch specific earlyprintk") removed the file causing the only user to be removed when the two commits were merged. Since this has never been used again since the v3.15 release remove it. Signed-off-by: Steven Price --- This came up because for Arm CCA there is a need to override set_fixmap_io() [1] and rather than also update set_fixmap_offset_io() I thought it would be better to just drop the unused macro. [1] https://lore.kernel.org/lkml/20240605093006.145492-6-steven.price@arm.com/ --- include/asm-generic/fixmap.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/asm-generic/fixmap.h b/include/asm-generic/fixmap.h index 8cc7b09c1bc7..29cab7947980 100644 --- a/include/asm-generic/fixmap.h +++ b/include/asm-generic/fixmap.h @@ -97,8 +97,5 @@ static inline unsigned long virt_to_fix(const unsigned long vaddr) #define set_fixmap_io(idx, phys) \ __set_fixmap(idx, phys, FIXMAP_PAGE_IO) -#define set_fixmap_offset_io(idx, phys) \ - __set_fixmap_offset(idx, phys, FIXMAP_PAGE_IO) - #endif /* __ASSEMBLY__ */ #endif /* __ASM_GENERIC_FIXMAP_H */ -- 2.34.1