aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/vsyscall-note.S
blob: 52e0cbbac70c04982c9adac9e986724e34631dbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * 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/version.h>
#include <linux/elfnote.h>

/* Ideally this would use UTS_NAME, but using a quoted string here
   doesn't work. Remember to change this when changing the
   kernel's name. */
ELFNOTE_START(Linux, 0, "a")
	.long LINUX_VERSION_CODE
ELFNOTE_END