From 7ae42c96cffc432e1a4f90b7f12b11acb66723ed Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Wed, 2 Jan 2013 11:50:19 +0000 Subject: [PATCH 1/3] arm64: Include linux/ptrace.h in asm/compat.h Commit 9b064fc3f95a8e44e929fdf4d6037334ea03d15b (new helper: compat_user_stack_pointer()) introduces a call to current_pt_regs() which is defined in linux/ptrace.h, not currently included asm/compat.h. Signed-off-by: Catalin Marinas --- arch/arm64/include/asm/compat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index d9ec40217a2..618b450e5a1 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h @@ -23,6 +23,7 @@ */ #include #include +#include #define COMPAT_USER_HZ 100 #define COMPAT_UTS_MACHINE "armv8l\0\0" From db2789b50068420127475182d5cf4d501547751b Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Tue, 18 Dec 2012 15:27:25 +0000 Subject: [PATCH 2/3] arm64: Keep the ARM64 Kconfig selects sorted Signed-off-by: Catalin Marinas --- arch/arm64/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9c829b00826..dcbd4c8fcea 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -2,6 +2,7 @@ config ARM64 def_bool y select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select ARCH_WANT_COMPAT_IPC_PARSE_VERSION + select CLONE_BACKWARDS select COMMON_CLK select GENERIC_CLOCKEVENTS select GENERIC_HARDIRQS_NO_DEPRECATED @@ -31,7 +32,6 @@ config ARM64 select RTC_LIB select SPARSE_IRQ select SYSCTL_EXCEPTION_TRACE - select CLONE_BACKWARDS help ARM 64-bit (AArch64) Linux support. From 25c92a37a8191b5fdbbba7bdc917e14766a52461 Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Tue, 18 Dec 2012 15:26:13 +0000 Subject: [PATCH 3/3] arm64: Always select ARM_AMBA and GENERIC_GPIO Needed for most SoCs. Signed-off-by: Catalin Marinas --- arch/arm64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index dcbd4c8fcea..f8f362aafee 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -2,6 +2,7 @@ config ARM64 def_bool y select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select ARCH_WANT_COMPAT_IPC_PARSE_VERSION + select ARM_AMBA select CLONE_BACKWARDS select COMMON_CLK select GENERIC_CLOCKEVENTS @@ -90,6 +91,9 @@ config SWIOTLB config IOMMU_HELPER def_bool SWIOTLB +config GENERIC_GPIO + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer"