summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/Makefile
diff options
context:
space:
mode:
authorChris Metcalf2013-08-07 21:33:32 +0200
committerChris Metcalf2013-08-13 22:26:21 +0200
commit4a556f4f56da3110b27e265b79f0e7582115445c (patch)
treef5af0b865c867160855e4722b49d7e850dddf944 /arch/tile/kernel/Makefile
parenttile: support simulator notification for ET_DYN objects (diff)
downloadkernel-qcow2-linux-4a556f4f56da3110b27e265b79f0e7582115445c.tar.gz
kernel-qcow2-linux-4a556f4f56da3110b27e265b79f0e7582115445c.tar.xz
kernel-qcow2-linux-4a556f4f56da3110b27e265b79f0e7582115445c.zip
tile: implement gettimeofday() via vDSO
This change creates the framework for vDSO calls, makes the existing rt_sigreturn() mechanism use it, and adds a fast gettimeofday(). Now that we need to expose the vDSO address to userspace, we add AT_SYSINFO_EHDR to the set of aux entries provided to userspace. (You can disable any extra vDSO support by booting with vdso=0, but the rt_sigreturn vDSO page will still be provided.) Note that glibc has supported the tile vDSO since release 2.17. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/Makefile')
-rw-r--r--arch/tile/kernel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/tile/kernel/Makefile b/arch/tile/kernel/Makefile
index 6846c4ef5bf1..5157d1c4b4ed 100644
--- a/arch/tile/kernel/Makefile
+++ b/arch/tile/kernel/Makefile
@@ -6,7 +6,7 @@ extra-y := vmlinux.lds head_$(BITS).o
obj-y := backtrace.o entry.o irq.o messaging.o \
pci-dma.o proc.o process.o ptrace.o reboot.o \
setup.o signal.o single_step.o stack.o sys.o \
- sysfs.o time.o traps.o unaligned.o \
+ sysfs.o time.o traps.o unaligned.o vdso.o \
intvec_$(BITS).o regs_$(BITS).o tile-desc_$(BITS).o
obj-$(CONFIG_HARDWALL) += hardwall.o
@@ -21,3 +21,5 @@ else
obj-$(CONFIG_PCI) += pci.o
endif
obj-$(CONFIG_TILE_USB) += usb.o
+
+obj-y += vdso/