summaryrefslogtreecommitdiffstats
path: root/arch/x86/vdso/vdso-note.S
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 11:17:10 +0200
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 11:17:10 +0200
commit7648b1330c335601b7c09c25f77a03cda128fcab (patch)
tree8b92b501dc746b135bf9019472b425e8ef052714 /arch/x86/vdso/vdso-note.S
parent185f3d38900f750a4566f87cde6a178f3595a115 (diff)
downloadblackbird-op-linux-7648b1330c335601b7c09c25f77a03cda128fcab.tar.gz
blackbird-op-linux-7648b1330c335601b7c09c25f77a03cda128fcab.zip
x86_64: move vdso
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/vdso/vdso-note.S')
-rw-r--r--arch/x86/vdso/vdso-note.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/vdso/vdso-note.S b/arch/x86/vdso/vdso-note.S
new file mode 100644
index 000000000000..79a071e4357e
--- /dev/null
+++ b/arch/x86/vdso/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