arm64: drop alignment from syscall tables
authorMark Rutland <mark.rutland@arm.com>
Wed, 11 Jul 2018 13:56:49 +0000 (14:56 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 12 Jul 2018 13:49:48 +0000 (14:49 +0100)
commit80d63bc39f9ace9c1d2bef7f921d2f3ef2037d4b
treea2777e911dc56541190485de76b2e0a53e2f9067
parentbaaa7237fecc5ada99e518f38541126977ca7ff4
arm64: drop alignment from syscall tables

Our syscall tables are aligned to 4096 bytes, which allowed their
addresses to be generated with a single adrp in entry.S. This has the
unfortunate property of wasting space in .rodata for the necessary
padding.

Now that the address is generated by C code, we can rely on the compiler
to do the right thing, and drop the alignemnt.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/sys.c
arch/arm64/kernel/sys32.c