From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752788AbdHGKF7 (ORCPT ); Mon, 7 Aug 2017 06:05:59 -0400 Received: from mail-bjbop0210.outbound.protection.partner.outlook.cn ([42.159.33.210]:17244 "EHLO cn01-BJB-obe.outbound.protection.partner.outlook.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606AbdHGKF6 (ORCPT ); Mon, 7 Aug 2017 06:05:58 -0400 X-Greylist: delayed 1068 seconds by postgrey-1.27 at vger.kernel.org; Mon, 07 Aug 2017 06:05:57 EDT Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yunzhi.li@deephi.tech; From: Yunzhi Li To: yunzhi.li@deephi.com Cc: Yunzhi Li , 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:33:22 +0800 Message-Id: <20170807093322.26050-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: SH2PR01CA029.CHNPR01.prod.partner.outlook.cn (10.41.247.39) To BJXPR01MB149.CHNPR01.prod.partner.outlook.cn (10.41.52.11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03658d8c-d1d2-4901-d607-08d4dd775f6a 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:BJXPR01MB149; X-MS-TrafficTypeDiagnostic: BJXPR01MB149: X-Exchange-Antispam-Report-CFA: BCL:0;PCL:0;RULEID:;SRVR:BJXPR01MB149;BCL:0;PCL:0;RULEID:;SRVR:BJXPR01MB149; X-Forefront-PRVS: 0392679D18 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6009001)(199002)(329002)(328002)(189002)(6116002)(50226002)(7350300001)(110136004)(97336001)(95416001)(54316003)(49866002)(42186005)(86362001)(65816002)(63696004)(1076002)(47736002)(59766002)(47976003)(47446003)(81686001)(56776002)(51856002)(81816001)(189998001)(7330300001)(66066001)(4326008)(47776003)(50986002)(5003940100001)(98676001)(33646002)(97186001)(68736007)(81156014)(94946001)(97736004)(106356001)(2361001)(8676002)(2351001)(94316002)(93516002)(69226001)(105586002)(3846002)(34206002)(87266001)(56816005)(90146001)(7736002)(36756003)(76796001)(48376002)(74876001)(305945005)(50466002)(74706001)(93136001)(5660300001)(54906002)(74366001)(76176001)(76786001)(101416001)(6666003);DIR:OUT;SFP:1102;SCL:1;SRVR:BJXPR01MB149;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:33:33.1672 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BJXPR01MB149 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