x86: include: add asmlinkage 'storage class'
We've a number of C functions with external linkage that are only called
from assembly. -Wmissing-prototypes warns about these unless they have
a prototype that goes unused. Let's standardize on using the asmlinkage
'storage class' to mark such declarations.

As <linux/linkage.h> defines asmlinkage to naught unless <asm/linkage.h>
does, it's sufficient to add an empty header to make this usable on x86
as well.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0fc1f8e commit f51c1cec2581aab869ab4fba313898fc2f436f77
@Ahmad Fatoum Ahmad Fatoum authored on 16 Oct 2019
Sascha Hauer committed on 18 Oct 2019
Showing 1 changed file
View
arch/x86/include/asm/linkage.h 0 → 100644