Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757439AbbEWEes (ORCPT ); Sat, 23 May 2015 00:34:48 -0400 Received: from mail-bn1on0098.outbound.protection.outlook.com ([157.56.110.98]:28960 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753978AbbEWEej (ORCPT ); Sat, 23 May 2015 00:34:39 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; arm.linux.org.uk; dkim=none (message not signed) header.d=none; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=dinguyen@opensource.altera.com; From: To: CC: , , , , "Dinh Nguyen" Subject: [PATCH 1/3] ARM: socfpga: use CPU_METHOD_OF_DECLARE for socfpga_cyclone5 Date: Fri, 22 May 2015 23:28:51 -0500 Message-ID: <1432355333-15515-2-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.2.1 In-Reply-To: <1432355333-15515-1-git-send-email-dinguyen@opensource.altera.com> References: <1432355333-15515-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: SN1PR07CA0038.namprd07.prod.outlook.com (25.162.170.176) To BN3PR03MB1368.namprd03.prod.outlook.com (25.163.34.154) X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1368;2:IDwSYoJmizvpYnz/x28QtFOGL0of6nRCDqrXcvHgwYrHC8JG6rSCbsdfB1+0wUOF;2:GXMNE9h28DyM+7MLtURwfsHnUo7Xp7tlKcCd+humrbqMirySm6y0gk3ihPISmdZh42wbfPRf00EH2XH2CPs4OXV+rof3bZQ8ZrD84yoca4BZoYwHhSV+UiDhsugEx2A6sNrVs37m6528znpjnkH4aw==;6:5VR8zAXQbWcMnsx9SoOQVkIRIOKtRdA8HKcBD2wd/nLNgR4to58HNp8qkuzSy+tE8+vgMmGu1NJTGtKvrve9jeEia5YG1va2YiLsMHMBY8f0eXgKkVlTwZDMDHY2pso0OiC+wRX4DkBrIZ07WhVKOg==;3:yfckCH5AUxwr2wuwz7NUhAJgSjlFh7wgktKJM0sPvzS2GloxpP7xuVBidaE1drmMtsxGhLobzHd31Smi1k2o7ouYuqyQ5Auwk9qNbGCfLd64Yedd+SIGbGUDNLchk+OmNaXJxjOuuc9dh1rrg2Wxwt9t7fxZfsPlQ6/KC7O4ocYazAq9UKGA5C+PFylq9NZEUn4+m3MzgtAmRx2jVCWHSsTi72udb5e0P9CjeLogVBvuI6AcR+ZOTRADv+IvneKIepRhPux68K4QW+vvkvE1KVgZO/d0yQP/JqzZdrTzCh7e3YqlG5ngOgdoRbUOEhdH X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1368;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB043; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520002)(3002001);SRVR:BN3PR03MB1368;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1368;BCL:0;PCL:0;RULEID:(601004)(5005006)(520002)(3002001);SRVR:BY2PR03MB043;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB043; X-Forefront-PRVS: 0585417D7B X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6009001)(189002)(199003)(81156007)(4001540100001)(97736004)(5001860100001)(5001830100001)(189998001)(5001960100002)(48376002)(53416004)(106356001)(50466002)(42186005)(76176999)(107886002)(50986999)(101416001)(110136002)(66066001)(47776003)(87976001)(86152002)(64706001)(19580405001)(19580395003)(92566002)(69596002)(46102003)(2351001)(229853001)(86362001)(122386002)(33646002)(2950100001)(105586002)(62966003)(77096005)(68736005)(40100003)(77156002)(50226001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB1368;H:linux-builds1.altera.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:0;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BN3PR03MB1368;9:rFLo78DvWAhYtDouovPKlHFLZ16NIE+1kFCGYiAVeV?= =?us-ascii?Q?BKjgiRa7DabHH+lNyCqS0LVnfSer8lOwSD56+J9d6vHokQzSh4abDfLQtVrW?= =?us-ascii?Q?YFeBURDj7QDK4Q5HJGQ1GbCZpbwdLflzd4iTCujCfJycz0BVBJj5cafg9MOf?= =?us-ascii?Q?8jadBNaMf0e5EvZS3d5U7/27tpSuWiPVmZOTAQqQWH5OBDAgEbHIhtMQIJbX?= =?us-ascii?Q?jjhX0Du2N1HXzZxQD15H2OJE90Tdi53uf0NOUC9j8DSoyM8d47poBmUhnXAm?= =?us-ascii?Q?3XLkZF2/stlsxciIAFmXKku59HrIteZPTOxIuyAVLhorjnAKzxkz9LTEkY9E?= =?us-ascii?Q?lqh8cblazM5oApXP2w2BjufeqF2SLP36Qa7hT7c+xKPmuYtxsEk3QqROjcC9?= =?us-ascii?Q?zb3wYTvp+xpwv+0yYaH9Mg9ko+k/ciGDIEAAnXvGjVdA4Sw2zgwXSOOO6pBz?= =?us-ascii?Q?uKLi9SftYWVLIGsrYW2vlcgCac6YSgYW0t5jnMsB5IhUWta27/EK4JDlyg+t?= =?us-ascii?Q?MElNoIngHsMWE+w2VIvWRyw8IdJRtZqT+7BcyqhbVFMjGl9RUE3uRnn6aiJA?= =?us-ascii?Q?OvuKhucyyiT7jqikXY3dnyA57t5t1GDfsJWut/VhtseqYIJQZD6oHGJ7bZN5?= =?us-ascii?Q?oEbaqJ3Ctg4Adjo47qBoOMXOygxYwEzDJDmyJiNdCxyRUJFectFbWG7b7rIt?= =?us-ascii?Q?CvGiFYBpVfHpbeA9KojcuqWGbHcHIFi3mcJYDru5yxPyQesRM7WoHuR7emfk?= =?us-ascii?Q?uYZQ2D6/qz5kaZfVmqXa0BWBkiuxIDEiaIQCLy4gBs4Dk+2GKiDJevCbHxir?= =?us-ascii?Q?nlUC8uzzf0IOkx6ZUDmDXulvHrk+USxNaJsWXjn+YN7py3iW7CrbE60DT5tc?= =?us-ascii?Q?wuD0yZrR5axt86FxLwxAHzq+Up+9QNJT6Ebp51ozGYLbwcq0d1Y8bInFpWQC?= =?us-ascii?Q?ib2iYnrvt7WTospYmiATWjq8soVAdqcUBzWxw8TCTRqVoqPjor1YiwG+9bv7?= =?us-ascii?Q?3t2pNTQ17PIDrBcueACpF3vLmmZ1OluhcM05wICKS5PcMQjDtJNf9KjfJMLs?= =?us-ascii?Q?YDQq7vF34OPtLcrR9xHx/S3zdou/FDShZQn0l012p54F3qbiZ2EhudUZIqBt?= =?us-ascii?Q?Tn9f/3crAI6xbpQo1Bw7OjwZTvtXlJLbT5/jcuAqNwExN/Ue70dw=3D=3D?= X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1368;3:Z2RMveOaFqvO5dz0p05CDw8Ywn9zkN+neodhaw8b0wia3HN8sntn7IUjM0POx0Ym4inngkZLhfIBA0t06X3s0t1FLt8plF1Qz9Rc3yDvb6fu4kHK3HweewNc3RZR01yMwy9ZYqrAHzcSi12AAOZXmg==;10:NI657e6Ud7TEKoe4QPpiIZYKkmGvXiFak75cytxSduEzeRnrJ2CE+gpjPldy5TW9TsfbWkAQR3MUSmHBSc15xZWUbpYxpgMcu9fcDe1LfLw=;6:Q7eElgKLl+7R7bEG3HGWKyv0n9jcK2XHXFPMkv2heUuKvcM5QtTRXi//0XixsvAD4K5OA2gsBscz2v4LwtqqwtpQypnEP3aAozMVlwnLm529c8FCItpjgIQZyc6DLhfsZY2kgu13P4LGeXe4Ylo6+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1368 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BL2FFO11FD017.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD017;1:/vXcXfuK5Mi01FOp48QkX/0M60i79NEEKbVL3pCK6R2X5bDWjQoidHzOnAZtSXp9v/tSAvPPiKbQkiPojd/uKL6RfLnCKjehadCaLExPmcSUCJCsyzCQXIBueW1k5093+5I/4f0FpaNXTzF69f2ZBVAUlBi2ki18Jc3p7fs8WuW1jhF40Lwe4WkFDlvMhbg0yO1HX7++r7afJvZaNF8OTysjYBsIWXLPvQ3TxV4dVGmFSdquJTU1QaZKeJ9PoppnmXR+L6ZZgpv+kbw8OdI4bQ== X-Forefront-Antispam-Report: CIP:66.35.236.227;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(339900001)(199003)(189002)(97736004)(4001540100001)(85426001)(81156007)(66066001)(50986999)(105606002)(62966003)(77156002)(40100003)(19580395003)(5001830100001)(19580405001)(33646002)(76176999)(16796002)(53416004)(189998001)(64706001)(47776003)(46102003)(122386002)(5001860100001)(107886002)(5001960100002)(110136002)(50226001)(92566002)(86362001)(6806004)(86152002)(50466002)(48376002)(87936001)(77096005)(106466001)(2351001)(229853001)(2950100001)(6070500001)(68736005)(7099028)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR03MB043;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2PR03MB043;2:1j5QbJZuu40k6CbX6feUemIDhRTB/8JJdE9gmRogJtkzRd6MbhZ+OABW9wyMSeTl;2:2dk1Hmi35LTADJ2Zu1LkXxjuiKf1+AS5fLY2eqzNhqi/hwbLkwEv5wtSuKzI49Yyp/NLsmF+OElZUQ0L5sgmr9EWdjqV60gu8CxmShm+NQBxAbTPhHk1U/A75u4okuEBFDlOf0bjKOjaXSXmvaDcOdHJwwk9uori77xLmfCPgCBtxB4TCihLgC6HpCYAw3DIya7B66akeVba/FXckn/YXcGEFC7IXgAGk4hq6GTDoao=;6:m4+akrD0WsojIPCQ28aR03HNK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fYwRIll8154i3TUN/TlJDBeJJxsPwbnW+wo4rNMbs5mfAS6dcTQdD9ipqpRxVXEYtNYBlN8rTnHOfJpbRGgPDRYO3OI2A==;10:TrUEnkwPX50LHgOv7i2b4axQ5a6WDbP5Uy3lkXBzhyaWkf7koe9XLiguWrXAop+3Fai0CizYB5Or+ipNjb10feP+EPhwQcYcJlL3aVoL+KQ=;6:35oG9w4EeLBBB8U0bw/ILnzdBSHLEV18YTNvHJl0UAqsiiuHie1fbUUsAoEJ2TtLRRe+lcnd+mVbWw4bSv5vtDtb7mAri2PIBykZ8UVrJdnFJGU5etdhElnju8VQqcvaLL326SrXSXQOI0U7vakPhA== X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2015 04:34:35.5864 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.227];Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB043 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1421 Lines: 40 From: Dinh Nguyen Convert cyclone5/arria5 to use CPU_METHOD_OF_DECLARE for smp operations. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/platsmp.c | 2 ++ arch/arm/mach-socfpga/socfpga.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/platsmp.c b/arch/arm/mach-socfpga/platsmp.c index 7886eae..08250c8 100644 --- a/arch/arm/mach-socfpga/platsmp.c +++ b/arch/arm/mach-socfpga/platsmp.c @@ -90,3 +90,5 @@ struct smp_operations socfpga_smp_ops __initdata = { .cpu_die = socfpga_cpu_die, #endif }; + +CPU_METHOD_OF_DECLARE(socfpga_smp, "altr,socfpga-smp", &socfpga_smp_ops); diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c index b63dec6..a154920 100644 --- a/arch/arm/mach-socfpga/socfpga.c +++ b/arch/arm/mach-socfpga/socfpga.c @@ -78,7 +78,6 @@ static const char *altera_dt_match[] = { DT_MACHINE_START(SOCFPGA, "Altera SOCFPGA") .l2c_aux_val = 0, .l2c_aux_mask = ~0, - .smp = smp_ops(socfpga_smp_ops), .init_irq = socfpga_init_irq, .restart = socfpga_cyclone5_restart, .dt_compat = altera_dt_match, -- 2.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/