]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: add <asm/asm-prototypes.h>
authorMark Rutland <mark.rutland@arm.com>
Wed, 12 Dec 2018 12:22:19 +0000 (12:22 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 12 Dec 2018 14:10:18 +0000 (14:10 +0000)
commitc3296a1391cb0ffbea95ee2249af63cb45e4899b
treeaecf429d03c5edaa5db49cd57cfb15111d8639b3
parent9b31cf493ffa40914e02998381993116e574c651
arm64: add <asm/asm-prototypes.h>

While we can export symbols from assembly files, CONFIG_MODVERIONS requires C
declarations of anyhting that's exported.

Let's account for this as other architectures do by placing these declarations
in <asm/asm-prototypes.h>, which kbuild will automatically use to generate
modversion information for assembly files.

Since we already define most prototypes in existing headers, we simply need to
include those headers in <asm/asm-prototypes.h>, and don't need to duplicate
these.

Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/asm-prototypes.h [new file with mode: 0644]