summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/vsyscall_emu_64.S
blob: ffa845eae5ca5f407410e342a4e67c6f98e4a2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * vsyscall_emu_64.S: Vsyscall emulation page
 *
 * Copyright (c) 2011 Andy Lutomirski
 *
 * Subject to the GNU General Public License, version 2
 */

#include <linux/linkage.h>
#include <asm/irq_vectors.h>

/* The unused parts of the page are filled with 0xcc by the linker script. */

.section .vsyscall_0, "a"
ENTRY(vsyscall_0)
	int $VSYSCALL_EMU_VECTOR
END(vsyscall_0)

.section .vsyscall_1, "a"
ENTRY(vsyscall_1)
	int $VSYSCALL_EMU_VECTOR
END(vsyscall_1)

.section .vsyscall_2, "a"
ENTRY(vsyscall_2)
	int $VSYSCALL_EMU_VECTOR
END(vsyscall_2)