clocksource: Remove obsolete ifdef
commit0fc7598b9c7e8eacc1bdde4ba1044e96cf64adb9
authorThomas Gleixner <tglx@linutronix.de>
Sat, 6 Jun 2020 21:51:15 +0000 (6 23:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:33:01 +0000 (22 09:33 +0200)
tree293e9b7f209d8dbe8e10c2b923e459b72b31ffc2
parent2f52e680e8678e83cc638571d11b92ae494a8585
clocksource: Remove obsolete ifdef

commit c7f3d43b629b598a2bb9ec3524e844eae7492e7e upstream.

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: f86fd32db706 ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/time/clocksource.c