From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbdHGKLm (ORCPT ); Mon, 7 Aug 2017 06:11:42 -0400 Received: from mail-bjbop0211.outbound.protection.partner.outlook.cn ([42.159.33.211]:40562 "EHLO cn01-BJB-obe.outbound.protection.partner.outlook.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606AbdHGKLl (ORCPT ); Mon, 7 Aug 2017 06:11:41 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yunzhi.li@deephi.tech; From: Yunzhi Li To: yunzhi.li@deephi.tech Cc: linux-kernel@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org, Wei Xu Subject: [PATCH] ARM: hisi: Fix typo in comment Date: Mon, 7 Aug 2017 17:37:04 +0800 Message-Id: <20170807093704.26313-1-yunzhi.li@deephi.tech> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [124.65.131.74] X-ClientProxiedBy: SHAPR01CA032.CHNPR01.prod.partner.outlook.cn (10.41.244.39) To SHAPR01MB158.CHNPR01.prod.partner.outlook.cn (10.41.246.144) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5edcdd91-d06c-4dd5-7a4f-08d4dd77e127 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500018)(300135000095)(300000501018)(300135300095)(22001)(300000502018)(300135100095)(300000503018)(300135400095)(201703131423075)(300000504018)(300135200095)(300000505018)(300135600095)(300000506018)(300135500095);SRVR:SHAPR01MB158; X-MS-TrafficTypeDiagnostic: SHAPR01MB158: X-Exchange-Antispam-Report-CFA: BCL:0;PCL:0;RULEID:;SRVR:SHAPR01MB158;BCL:0;PCL:0;RULEID:;SRVR:SHAPR01MB158; X-Forefront-PRVS: 0392679D18 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6009001)(328002)(329002)(189002)(199002)(81686001)(50466002)(81816001)(98676001)(65816002)(50986002)(49866002)(54316003)(51856002)(47736002)(47446003)(56776002)(97336001)(59766002)(47976003)(105586002)(106356001)(5003940100001)(63696004)(48376002)(74706001)(69226001)(97186001)(76786001)(76796001)(42186005)(36756003)(33646002)(74366001)(86362001)(5660300001)(76176001)(6116002)(189998001)(7330300001)(7350300001)(2361001)(1076002)(3846002)(74876001)(2351001)(47776003)(110136004)(97736004)(68736007)(66066001)(54906002)(7736002)(305945005)(6666003)(101416001)(81156014)(93516002)(50226002)(34206002)(94946001)(56816005)(90146001)(93136001)(4326008)(8676002)(94316002)(87266001)(95416001);DIR:OUT;SFP:1102;SCL:1;SRVR:SHAPR01MB158;H:ubuntu.ubuntu-domain;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;LANG:en; X-OriginatorOrg: deephi.tech X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2017 09:37:11.1264 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SHAPR01MB158 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the rc vs. pc typo. There is no a register named rc, I felt confused when I read this assembler command in comment. Signed-off-by: Yunzhi Li --- arch/arm/mach-hisi/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mach-hisi/platsmp.c index 91bb02dec20f..da5689ababf7 100644 --- a/arch/arm/mach-hisi/platsmp.c +++ b/arch/arm/mach-hisi/platsmp.c @@ -109,7 +109,7 @@ static void hix5hd2_set_scu_boot_addr(phys_addr_t start_addr, phys_addr_t jump_a virt = ioremap(start_addr, PAGE_SIZE); - writel_relaxed(0xe51ff004, virt); /* ldr pc, [rc, #-4] */ + writel_relaxed(0xe51ff004, virt); /* ldr pc, [pc, #-4] */ writel_relaxed(jump_addr, virt + 4); /* pc jump phy address */ iounmap(virt); } -- 2.11.0