Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752252Ab3IUQts (ORCPT ); Sat, 21 Sep 2013 12:49:48 -0400 Received: from mail-bk0-f42.google.com ([209.85.214.42]:48608 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225Ab3IUQtr (ORCPT ); Sat, 21 Sep 2013 12:49:47 -0400 MIME-Version: 1.0 In-Reply-To: <20130921140059.GA2779@lukather> References: <1379768716-11672-1-git-send-email-cinifr@gmail.com> <1379768716-11672-2-git-send-email-cinifr@gmail.com> <20130921140059.GA2779@lukather> Date: Sun, 22 Sep 2013 00:49:45 +0800 Message-ID: Subject: Re: [PATCH 1/3] Add smp support for Allwinner A20(sunxi 7i). From: cinifr To: Maxime Ripard Cc: coosty@163.com, Daniel Lezcano , "linux@arm.linux.org.uk" , "tglx@linutronix.de" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Mark Rutland , "pawel.moll@arm.co" , Rob Herring , "linux-sunxi@googlegroups.com" Content-Type: multipart/mixed; boundary=001a113351940c63a904e6e7937a Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8775 Lines: 125 --001a113351940c63a904e6e7937a Content-Type: text/plain; charset=ISO-8859-1 Thanks. I have modify my patch as you said. It is in attachments. Maybe I remail the new patch? --001a113351940c63a904e6e7937a Content-Type: application/octet-stream; name="0001-Add-smp-support-for-Allwinner-A20-sunxi-7i.patch" Content-Disposition: attachment; filename="0001-Add-smp-support-for-Allwinner-A20-sunxi-7i.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hlv2o8av1 RnJvbSA0Mzg2ZGI4MzBmZjI5YTU1YjEyYmRjYTc4ZGRhOTI5ODYyNzEwODI1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGYW4gUm9uZyA8Y2luaWZyQGdtYWlsLmNvbT4KRGF0ZTogU3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ZWUpIikKKwkuc21wCT0gc21wX29wcyhzdW43aV9z bXBfb3BzKSwKIAkuaW5pdF9tYWNoaW5lCT0gc3VueGlfZHRfaW5pdCwKIAkuaW5pdF90aW1lCT0g c3VueGlfdGltZXJfaW5pdCwKIAkuZHRfY29tcGF0CT0gc3VueGlfYm9hcmRfZHRfY29tcGF0LAot LSAKMS44LjEuMgoK --001a113351940c63a904e6e7937a-- -- 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/