csky/vdso: Remove superfluous ifdeffery
authorAnna-Maria Behnsen <anna-maria@linutronix.de>
Mon, 19 Feb 2024 15:39:32 +0000 (16:39 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 20 Feb 2024 19:56:00 +0000 (20:56 +0100)
CSKY selects GENERIC_TIME_VSYSCALL. GENERIC_TIME_VSYSCALL dependent
ifdeffery is superfluous. Clean it up.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20240219153939.75719-4-anna-maria@linutronix.de
arch/csky/include/asm/vdso.h
arch/csky/kernel/vdso.c

index bdce581b5fcb8113129221acab65436dfbf8de9a..181a15edafe87ef54cc7380bfac9e66d1484a815 100644 (file)
@@ -5,11 +5,6 @@
 
 #include <linux/types.h>
 
-#ifndef GENERIC_TIME_VSYSCALL
-struct vdso_data {
-};
-#endif
-
 /*
  * The VDSO symbols are mapped into Linux so we can just use regular symbol
  * addressing to get their offsets in userspace.  The symbols are mapped at an
index 16c20d64d16532b1d1498a007193c7916a6bb15a..e74a2504d331647d66bea8751473bb8a1899ea09 100644 (file)
@@ -8,11 +8,7 @@
 #include <linux/slab.h>
 
 #include <asm/page.h>
-#ifdef GENERIC_TIME_VSYSCALL
 #include <vdso/datapage.h>
-#else
-#include <asm/vdso.h>
-#endif
 
 extern char vdso_start[], vdso_end[];