aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-24 11:10:53 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-24 11:10:53 -0400
commitfb65d872d7a8dc629837a49513911d0281577bfd (patch)
tree0c6928094671d99e24f17e778468763a7ce52662 /arch/arm
parent05f0c553e2155b93a9b4edb96898458762bda867 (diff)
parent6b7acae74fc2ffe6cfd7592e95ca933cadb31219 (diff)
Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King: "A few fixes for the recently merged development updates: - the update to convert a code branch in the procinfo structure forgot to update the nommu code. - VDSO only supported for V7 CPUs and later. - VDSO build creates files which should be ignored by git but are not. - ensure that make arch/arm/vdso/ doesn't build if it isn't enabled" * 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: ARM: 8344/1: VDSO: honor CONFIG_VDSO in Makefile ARM: 8343/1: VDSO: add build artifacts to .gitignore ARM: Fix nommu booting ARM: 8342/1: VDSO: depend on CPU_V7
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/kernel/head-nommu.S12
-rw-r--r--arch/arm/mm/Kconfig2
-rw-r--r--arch/arm/vdso/.gitignore2
-rw-r--r--arch/arm/vdso/Makefile4
4 files changed, 11 insertions, 9 deletions
diff --git a/arch/arm/kernel/head-nommu.S b/arch/arm/kernel/head-nommu.S
index cc176b67c134..aebfbf79a1a3 100644
--- a/arch/arm/kernel/head-nommu.S
+++ b/arch/arm/kernel/head-nommu.S
@@ -80,9 +80,9 @@ ENTRY(stext)
80 ldr r13, =__mmap_switched @ address to jump to after 80 ldr r13, =__mmap_switched @ address to jump to after
81 @ initialising sctlr 81 @ initialising sctlr
82 adr lr, BSYM(1f) @ return (PIC) address 82 adr lr, BSYM(1f) @ return (PIC) address
83 ARM( add pc, r10, #PROCINFO_INITFUNC ) 83 ldr r12, [r10, #PROCINFO_INITFUNC]
84 THUMB( add r12, r10, #PROCINFO_INITFUNC ) 84 add r12, r12, r10
85 THUMB( ret r12 ) 85 ret r12
86 1: b __after_proc_init 86 1: b __after_proc_init
87ENDPROC(stext) 87ENDPROC(stext)
88 88
@@ -117,9 +117,9 @@ ENTRY(secondary_startup)
117 117
118 adr lr, BSYM(__after_proc_init) @ return address 118 adr lr, BSYM(__after_proc_init) @ return address
119 mov r13, r12 @ __secondary_switched address 119 mov r13, r12 @ __secondary_switched address
120 ARM( add pc, r10, #PROCINFO_INITFUNC ) 120 ldr r12, [r10, #PROCINFO_INITFUNC]
121 THUMB( add r12, r10, #PROCINFO_INITFUNC ) 121 add r12, r12, r10
122 THUMB( ret r12 ) 122 ret r12
123ENDPROC(secondary_startup) 123ENDPROC(secondary_startup)
124 124
125ENTRY(__secondary_switched) 125ENTRY(__secondary_switched)
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index b7644310236b..b4f92b9a13ac 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -827,7 +827,7 @@ config KUSER_HELPERS
827 827
828config VDSO 828config VDSO
829 bool "Enable VDSO for acceleration of some system calls" 829 bool "Enable VDSO for acceleration of some system calls"
830 depends on AEABI && MMU 830 depends on AEABI && MMU && CPU_V7
831 default y if ARM_ARCH_TIMER 831 default y if ARM_ARCH_TIMER
832 select GENERIC_TIME_VSYSCALL 832 select GENERIC_TIME_VSYSCALL
833 help 833 help
diff --git a/arch/arm/vdso/.gitignore b/arch/arm/vdso/.gitignore
index f8b69d84238e..6b47f6e0b032 100644
--- a/arch/arm/vdso/.gitignore
+++ b/arch/arm/vdso/.gitignore
@@ -1 +1,3 @@
1vdso.lds 1vdso.lds
2vdso.so.raw
3vdsomunge
diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile
index bab0a8be7924..8aa791051029 100644
--- a/arch/arm/vdso/Makefile
+++ b/arch/arm/vdso/Makefile
@@ -10,8 +10,8 @@ ccflags-y := -shared -fPIC -fno-common -fno-builtin -fno-stack-protector
10ccflags-y += -nostdlib -Wl,-soname=linux-vdso.so.1 -DDISABLE_BRANCH_PROFILING 10ccflags-y += -nostdlib -Wl,-soname=linux-vdso.so.1 -DDISABLE_BRANCH_PROFILING
11ccflags-y += -Wl,--no-undefined $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) 11ccflags-y += -Wl,--no-undefined $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
12 12
13obj-y += vdso.o 13obj-$(CONFIG_VDSO) += vdso.o
14extra-y += vdso.lds 14extra-$(CONFIG_VDSO) += vdso.lds
15CPPFLAGS_vdso.lds += -P -C -U$(ARCH) 15CPPFLAGS_vdso.lds += -P -C -U$(ARCH)
16 16
17CFLAGS_REMOVE_vdso.o = -pg 17CFLAGS_REMOVE_vdso.o = -pg