summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/vdso/vdso.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/vdso/vdso.S')
-rw-r--r--kernel/arch/arm/vdso/vdso.S35
1 files changed, 35 insertions, 0 deletions
diff --git a/kernel/arch/arm/vdso/vdso.S b/kernel/arch/arm/vdso/vdso.S
new file mode 100644
index 000000000..b2b97e3e7
--- /dev/null
+++ b/kernel/arch/arm/vdso/vdso.S
@@ -0,0 +1,35 @@
+/*
+ * Adapted from arm64 version.
+ *
+ * Copyright (C) 2012 ARM Limited
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Author: Will Deacon <will.deacon@arm.com>
+ */
+
+#include <linux/init.h>
+#include <linux/linkage.h>
+#include <linux/const.h>
+#include <asm/page.h>
+
+ __PAGE_ALIGNED_DATA
+
+ .globl vdso_start, vdso_end
+ .balign PAGE_SIZE
+vdso_start:
+ .incbin "arch/arm/vdso/vdso.so"
+ .balign PAGE_SIZE
+vdso_end:
+
+ .previous