arm64: Do not export the compat-specific definitions to the user
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 10 Oct 2012 14:50:03 +0000 (15:50 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 11 Oct 2012 09:39:08 +0000 (10:39 +0100)
This patch adds #ifdef __KERNEL__ guards around the COMPAT_* definitions
to avoid exporting them to user. AArch32 user requiring the kernel
headers must use those generated with ARCH=arm.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>

No differences found