summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-10-16 09:21:38 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-18 13:56:31 +0200
commitf51c1cec2581aab869ab4fba313898fc2f436f77 (patch)
tree898548db063620330de6873929dea484eb9d8b65 /common
parent0fc1f8ef52847364224f87323c70bfcd43d8eaf6 (diff)
downloadbarebox-f51c1cec2581aab869ab4fba313898fc2f436f77.tar.gz
barebox-f51c1cec2581aab869ab4fba313898fc2f436f77.tar.xz
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>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions