Re: [PATCH v3 1/1] x86/kbuild: enable modversions for symbols exported from asm

From: Michal Marek
Date: Tue Dec 13 2016 - 18:39:58 EST


Dne 11.12.2016 v 02:09 Adam Borowski napsal(a):
> Commit 4efca4ed ("kbuild: modversions for EXPORT_SYMBOL() for asm") adds
> modversion support for symbols exported from asm files. Architectures
> must include C-style declarations for those symbols in asm/asm-prototypes.h
> in order for them to be versioned.
>
> Add these declarations for x86, and an architecture-independent file that
> can be used for common symbols.
>
> With f27c2f6 reverting 8ab2ae6 ("default exported asm symbols to zero") we
> produce a scary warning on x86, this commit fixes that.
>
> Signed-off-by: Adam Borowski <kilobyte@xxxxxxxxxx>
> Tested-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>
> Acked-by: Nicholas Piggin <npiggin@xxxxxxxxx>
> Tested-by: Peter Wu <peter@xxxxxxxxxxxxx>
> Tested-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx>

Applied to kbuild.git#kbuild now.

Michal