]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: Remove obsolete ifdef
authorThomas Gleixner <tglx@linutronix.de>
Sat, 6 Jun 2020 21:51:15 +0000 (23:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Jun 2020 14:36:47 +0000 (16:36 +0200)
commit45e334f843a97e5077d5c6e031941180b8abcc82
treee386fce90b6443a125a7d0ff55c70e787861e9d3
parent5f8a9f583f15516c99b3246e06b5c6413798a2ce
clocksource: Remove obsolete ifdef

CONFIG_GENERIC_VDSO_CLOCK_MODE was a transitional config switch which got
removed after all architectures got converted to the new storage model.

But the removal forgot to remove the #ifdef which guards the
vdso_clock_mode sanity check, which effectively disables the sanity check.

Remove it now.

Fixes: c48ecfc0c25e ("lib/vdso: Cleanup clock mode storage leftovers")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20200606221531.845475036@linutronix.de
kernel/time/clocksource.c