]> git.baikalelectronics.ru Git - kernel.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)
commitb9fa92bc35faf88d04c64c1ecff14e0fb385e675
treeaecf429d03c5edaa5db49cd57cfb15111d8639b3
parente09db535f1d7299bf260cf45e1caa93e70099ca9
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]