aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/elf.h1
-rw-r--r--include/asm-sh/system.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/elf.h b/include/asm-sh/elf.h
index 43ca244564b1..12cc4b392bf0 100644
--- a/include/asm-sh/elf.h
+++ b/include/asm-sh/elf.h
@@ -133,6 +133,7 @@ extern void __kernel_vsyscall;
133#define VDSO_BASE ((unsigned long)current->mm->context.vdso) 133#define VDSO_BASE ((unsigned long)current->mm->context.vdso)
134#define VDSO_SYM(x) (VDSO_BASE + (unsigned long)(x)) 134#define VDSO_SYM(x) (VDSO_BASE + (unsigned long)(x))
135 135
136/* update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes */
136#define ARCH_DLINFO \ 137#define ARCH_DLINFO \
137do { \ 138do { \
138 if (vdso_enabled) \ 139 if (vdso_enabled) \
diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h
index 9d849e6df268..4faa2fb88616 100644
--- a/include/asm-sh/system.h
+++ b/include/asm-sh/system.h
@@ -15,6 +15,7 @@
15struct task_struct *__switch_to(struct task_struct *prev, 15struct task_struct *__switch_to(struct task_struct *prev,
16 struct task_struct *next); 16 struct task_struct *next);
17 17
18#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */
18/* 19/*
19 * switch_to() should switch tasks to task nr n, first 20 * switch_to() should switch tasks to task nr n, first
20 */ 21 */