summaryrefslogtreecommitdiffstats
path: root/arch/sparc/vdso/vdso32/vdso-note.S
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-11-17 20:21:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-17 20:21:44 -0800
commit1deab8ce2c91e3b16563b7a7ea150f82334262ec (patch)
tree954b2d9d27df9765b9579b10f87054e1effd6cb3 /arch/sparc/vdso/vdso32/vdso-note.S
parent817002475046737877915d87889a012d851650fa (diff)
parent70f3c8b7c2e7ebcdde8354da004872e7c9184e97 (diff)
downloadtalos-obmc-linux-1deab8ce2c91e3b16563b7a7ea150f82334262ec.tar.gz
talos-obmc-linux-1deab8ce2c91e3b16563b7a7ea150f82334262ec.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Pull sparc updates from David Miller: 1) Add missing cmpxchg64() for 32-bit sparc. 2) Timer conversions from Allen Pais and Kees Cook. 3) vDSO support, from Nagarathnam Muthusamy. 4) Fix sparc64 huge page table walks based upon bug report by Al Viro, from Nitin Gupta. 5) Optimized fls() for T4 and above, from Vijay Kumar. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc64: Fix page table walk for PUD hugepages sparc64: Convert timers to user timer_setup() sparc64: convert mdesc_handle.refcnt from atomic_t to refcount_t sparc/led: Convert timers to use timer_setup() sparc64: Use sparc optimized fls and __fls for T4 and above sparc64: SPARC optimized __fls function sparc64: SPARC optimized fls function sparc64: Define SPARC default __fls function sparc64: Define SPARC default fls function vDSO for sparc sparc32: Add cmpxchg64(). sbus: char: Move D7S_MINOR to include/linux/miscdevice.h sparc: time: Remove unneeded linux/miscdevice.h include sparc64: mmu_context: Add missing include files
Diffstat (limited to 'arch/sparc/vdso/vdso32/vdso-note.S')
-rw-r--r--arch/sparc/vdso/vdso32/vdso-note.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sparc/vdso/vdso32/vdso-note.S b/arch/sparc/vdso/vdso32/vdso-note.S
new file mode 100644
index 000000000000..e234983cf0d8
--- /dev/null
+++ b/arch/sparc/vdso/vdso32/vdso-note.S
@@ -0,0 +1,12 @@
+/*
+ * This supplies .note.* sections to go into the PT_NOTE inside the vDSO
+ * text. Here we can supply some information useful to userland.
+ */
+
+#include <linux/uts.h>
+#include <linux/version.h>
+#include <linux/elfnote.h>
+
+ELFNOTE_START(Linux, 0, "a")
+ .long LINUX_VERSION_CODE
+ELFNOTE_END
OpenPOWER on IntegriCloud