Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp452359pxy; Wed, 21 Apr 2021 07:01:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUXLcmIUh9P072kiFRhpHlUx/+mdOJ8qwwt6dN3z/kmI0MtgetFJxhrxPkqsH4NTN5hzOE X-Received: by 2002:a63:e256:: with SMTP id y22mr7190061pgj.335.1619013676262; Wed, 21 Apr 2021 07:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619013676; cv=none; d=google.com; s=arc-20160816; b=mLftLtjnUPiWJrOBSvzTQqGa/yo2RqWFBgeT/Ykqw8A0c3KkW4Y/Vh4DAJegRmy3Nv Hg5oaF6PYlf9VtRXXzhLQyPVP5Hdshx/rcEaDVwimInp2MCT315JO1ayKMBtq8UndpIe Nj6W1TDM4rTGNAJFAPNgHT2fbRxbt1qcF2UQ7lKgz1aoB4ghWGRYloJxTt7AZSlYnt+I szrQowKdmNARkNfIW1rgAL0jR5+UJ97S+kA44Dd4O1EmcWp8+c4f9+wJAJc9TA61RIAS kogLgJsTMDbNZNGcTaI0BJnvn+bD96AnVmP7GxL9gdIlMmsPr05Jpimu/2r2qUVjs7Un Mstw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kgfH4z2JHqS2DaO3sLfnOI+7cKnPhbV7F7l0BF2KKFk=; b=K++RQh7W1X+r+2aIgB4PQ+fdp661ephwMb/dsDUzZ5OeS2ep+IwRd1q2Kob4JKVndO 1b2pZK0KOKy3s1ibWWGymiz0XH6gYWrZKjJNdQvfYqpBD70G5veXsGLfMKqZ2fswH6lx ErPRTk6xiTx7OADbICwFAHaNdOhyREEIS/6OuGflsklaUKTbCuAvvmbQH9ADSQT8z5AZ q8LREzhPnN5ObacN54j8UPmbDA9SF9d01HGHq8CbBLiAOLtXIivm2efoIKKg9RyVLSew Xgzt2IfjdUafxbfOLEdd9hfh7sUyTRd/rIt9S+gyq1AqxRsFV4PuIYK4ROTSRfsD0y6S S5ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=pWt3kfNL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si2907790pjc.39.2021.04.21.07.01.02; Wed, 21 Apr 2021 07:01:16 -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; dkim=pass header.i=@ibm.com header.s=pp1 header.b=pWt3kfNL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239125AbhDULTC (ORCPT + 99 others); Wed, 21 Apr 2021 07:19:02 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:35076 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238761AbhDULSw (ORCPT ); Wed, 21 Apr 2021 07:18:52 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13LB4trE007856; Wed, 21 Apr 2021 07:18:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=kgfH4z2JHqS2DaO3sLfnOI+7cKnPhbV7F7l0BF2KKFk=; b=pWt3kfNL2uuuMl8IsHFpxahlmRZ6ldDWmWppNHiPdzpNYgiNG5NTbQuqWalC+38E+Vli mN5K+RfPFPhXb+1RmcSfGFcb2URAaoFtbuveRPae+z/lmlGwJXOFrbZBmV8TuT8F6Zzz gq/rJpskrI2ndDpbpLP2pC4P9R9XKeq5UtB6MXBLjxAGsOAtB6PmHFx/9YOBLZ3KTWVh lE20D16q4y264VduJSbDdplD6YNHKqwbcerbBR6zoSyPykE8foWt2JtDUPyCa+gtK+Jy fQZWRbgOxP8Rx2jU5x/+8h1EPKwHsgJIsMqJxZihzJaZSWBEZ8iTEkkFVCT31W2P2w9v nA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 382j8k9dd1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Apr 2021 07:18:06 -0400 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 13LBFJZI049804; Wed, 21 Apr 2021 07:18:06 -0400 Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com with ESMTP id 382j8k9dcb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Apr 2021 07:18:06 -0400 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 13LBH9HD018940; Wed, 21 Apr 2021 11:18:04 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma02fra.de.ibm.com with ESMTP id 37yqa89835-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Apr 2021 11:18:03 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 13LBHcr327721992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Apr 2021 11:17:38 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5970942047; Wed, 21 Apr 2021 11:18:01 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E767F4204B; Wed, 21 Apr 2021 11:18:00 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 21 Apr 2021 11:18:00 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Vineet Gupta , "David S. Miller" Cc: Nathan Chancellor , Nick Desaulniers , clang-built-linux@googlegroups.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-snps-arc@lists.infradead.org, sparclinux@vger.kernel.org Subject: [PATCH v3 2/3] ARC: io.h: Include asm/bug.h Date: Wed, 21 Apr 2021 13:17:58 +0200 Message-Id: <20210421111759.2059976-3-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210421111759.2059976-1-schnelle@linux.ibm.com> References: <20210421111759.2059976-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: hS4nK5RrHPaMhtTFVGxKNRGcuhOcM0fN X-Proofpoint-ORIG-GUID: _uoe5l87U2dj3NiYbzSDiVZEH1Ow0-ua X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-04-21_04:2021-04-21,2021-04-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 phishscore=0 clxscore=1015 malwarescore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=671 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104210085 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Niklas Schnelle In a future change asm-generic/io.h will make inb() and friends WARN_ONCE() on systems without I/O port support. This requires WARN_ONCE() from asm/bug.h to be included so include it in the arch specific io.h as done by other architectures. Signed-off-by: Niklas Schnelle --- arch/arc/include/asm/io.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/include/asm/io.h b/arch/arc/include/asm/io.h index 8f777d6441a5..62ce2e486e29 100644 --- a/arch/arc/include/asm/io.h +++ b/arch/arc/include/asm/io.h @@ -8,6 +8,7 @@ #include #include +#include #include #include -- 2.25.1