[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Duplicated arch_gnttab_init breaks the arm64 kernel build

On 13/08/14 03:04, Chen Baozi wrote:
> Hi David & Konrad, 
> The current upstream kernel fails to build with Xen support because of 
> duplicated
> arch_gnttab_init() definition:
>   CC      arch/arm64/xen/../../arm/xen/grant-table.o
> arch/arm64/xen/../../arm/xen/grant-table.c:53:5: error: conflicting types for 
> ‘arch_gnttab_init’
>  int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status)
>      ^
> arch/arm64/xen/../../arm/xen/grant-table.c:48:5: note: previous definition of 
> ‘arch_gnttab_init’ was here
>  int arch_gnttab_init(unsigned long nr_shared)
>      ^
> make[1]: *** [arch/arm64/xen/../../arm/xen/grant-table.o] Error 1
> make: *** [arch/arm64/xen] Error 2
> I looked through the current upstream kernel tree. It looks like 
> arch_gnttab_init()
> is still be called in the older fashion (int arch_gnttab_init(unsigned long 
> nr_shared)).
> So I doubt if the b7dd0e3 at this stage of time?

I have just sent a pull request including a fix for this.



Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.