From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752389AbaHXIBS (ORCPT ); Sun, 24 Aug 2014 04:01:18 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:57204 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752073AbaHXIBR (ORCPT ); Sun, 24 Aug 2014 04:01:17 -0400 Message-ID: <53F99CF3.8080905@gmail.com> Date: Sun, 24 Aug 2014 16:06:11 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Michal Simek CC: "linux-kernel@vger.kernel.org" , Michael Eager Subject: Re: [PATCH] arch/microblaze/include/asm/entry.h: Include "linux/linkage.h" to avoid compiling issue References: <53E22E85.9010205@gmail.com> <53F371A0.8060700@gmail.com> In-Reply-To: <53F371A0.8060700@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello All: Is microblaze for Linux upstream kernel still alive? Before I get confirmation, I should do nothing for microblaze to avoid sending spams to kernel mailing list. Thanks. On 8/19/14 23:47, Chen Gang wrote: > Hello maintainers: > > Please help check the related 2 patches when you have time. > > Thanks. > > On 08/06/2014 09:32 PM, Chen Gang wrote: >> "entry.h" needs 'asmlinkage', and "asm/linkage.h" does not provide it. >> So need include "linux/linkage.h" to use generic one instead of. >> >> The related error (with allmodconfig under microblaze): >> >> CC [M] drivers/net/ethernet/emulex/benet/be_main.o >> In file included from ./arch/microblaze/include/asm/processor.h:17:0, >> from include/linux/prefetch.h:14, >> from drivers/net/ethernet/emulex/benet/be_main.c:18: >> ./arch/microblaze/include/asm/entry.h:33:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' >> extern asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall); >> ^ >> >> Signed-off-by: Chen Gang >> --- >> arch/microblaze/include/asm/entry.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/microblaze/include/asm/entry.h b/arch/microblaze/include/asm/entry.h >> index b4a4cb1..596e485 100644 >> --- a/arch/microblaze/include/asm/entry.h >> +++ b/arch/microblaze/include/asm/entry.h >> @@ -15,6 +15,7 @@ >> >> #include >> #include >> +#include >> >> /* >> * These are per-cpu variables required in entry.S, among other >> > > -- Chen Gang Open, share, and attitude like air, water, and life which God blessed