Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp673468pxk; Wed, 16 Sep 2020 14:04:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAYMUrUgfBfBoBZUTVtLkG9pZofLaDV5gHoXKHP88wDwxqJ0NqbkO8yY4TIvJ7nV4EtD9w X-Received: by 2002:a50:fc87:: with SMTP id f7mr29459067edq.162.1600290255746; Wed, 16 Sep 2020 14:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600290255; cv=none; d=google.com; s=arc-20160816; b=F6C4Dz0Bwtxbttm1ZjUg5DNDDnL65MNJt0o2c0an6D0LaexkxfTuWMJpReo1N/qNRs N4MEQrXsk2T9FKnS3WpiWf75e39DSfFvbfrnB02uE3ePm/tnwAHtsumUCC+q/EIIw3dl 2QVW7/ufjGrGI6EeR8eJShDtEOSKElYsQ3ZdKTSQ8rDJqL8LSUDqUJGdjEEe26Ohnzdn Q/0kYpIFJYWE9H8GhJXaDvXT/wSS7Auzsmy8QS3ux+it7aBcTdgrtsa9v4GcP0SS0r5p uArn/H/Y1fNLpKyDzak1qkO057HOOroamSFpreIW5rgAzHs8wtSAOwdNp46kAbaoa+Pa TJUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=K0S1Ec/5T3SPJPKPyT03ZhDqWUH1C4E/nrNl33uF+ew=; b=jT0tRsynVYkiy8JRp+EghmYO7JuH6bErx+JE2SVq+fjOfbp8Pimubtk+L5UDg6LUrs JFq5uXWIrVkqCap+VwOi73GldRKeRojeQGOHnIngDDUDlG1ZVZh420tf1aFPYDEosoig ONpvGCNPqfPaVly1TifADMwolw8FVD/mwVtjNce79OszadCe583TIVEdWtVIb3qKbimd 2qqkFwA2bzcJx/HSPXqfRwOX63orLHyKDT49LFMHto2fwqBC7ILW4uZYt0Q3jEoJX3Bk g6XJpVpa2y4lqG/pH7bvLGlBBOZ647h8N0Qh2aQ3u+IdzouMAp076z7X9SVCu+ZN6SGn 2Gqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si12758945edo.419.2020.09.16.14.03.52; Wed, 16 Sep 2020 14:04:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726511AbgIPVCh (ORCPT + 99 others); Wed, 16 Sep 2020 17:02:37 -0400 Received: from foss.arm.com ([217.140.110.172]:33466 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726485AbgIPQPR (ORCPT ); Wed, 16 Sep 2020 12:15:17 -0400 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 2511D1435; Wed, 16 Sep 2020 04:07:09 -0700 (PDT) Received: from red-moon.arm.com (unknown [10.57.6.237]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5A2C23F68F; Wed, 16 Sep 2020 04:07:06 -0700 (PDT) From: Lorenzo Pieralisi To: linux-kernel@vger.kernel.org Cc: Lorenzo Pieralisi , "David S . Miller" , linux-pci@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , Catalin Marinas , Will Deacon , Arnd Bergmann , George Cherian , Yang Yingliang Subject: [PATCH v2 1/3] sparc32: Remove useless io_32.h __KERNEL__ preprocessor guard Date: Wed, 16 Sep 2020 12:06:56 +0100 Message-Id: <084753d3064fe946ff1963eda2eb425cfd7daa7b.1600254147.git.lorenzo.pieralisi@arm.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: References: <20200915093203.16934-1-lorenzo.pieralisi@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The __KERNEL_ preprocessor guard is useless in non-uapi headers. Remove it. Signed-off-by: Lorenzo Pieralisi Cc: David S. Miller --- arch/sparc/include/asm/io_32.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/sparc/include/asm/io_32.h b/arch/sparc/include/asm/io_32.h index 9a52d9506f80..8179958e3ce1 100644 --- a/arch/sparc/include/asm/io_32.h +++ b/arch/sparc/include/asm/io_32.h @@ -121,8 +121,6 @@ static inline void sbus_memcpy_toio(volatile void __iomem *dst, } } -#ifdef __KERNEL__ - /* * Bus number may be embedded in the higher bits of the physical address. * This is why we have no bus number argument to ioremap(). @@ -148,8 +146,6 @@ static inline int sbus_can_burst64(void) struct device; void sbus_set_sbus64(struct device *, int); -#endif - #define __ARCH_HAS_NO_PAGE_ZERO_MAPPED 1 -- 2.26.1