MIPS: Fix build for LTS kernel caused by backporting lpj adjustment
authorHuacai Chen <chenhc@lemote.com>
Thu, 16 Jul 2020 09:39:29 +0000 (17:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:10:53 +0000 (09:10 +0200)
commit2e8d00e5585919d79da720aa4d4750d52c70b364
tree56c88d0472611b2b8000f0bec21cff758adc146a
parentb1ba1298d533929a727366462c7bb35684228e37
MIPS: Fix build for LTS kernel caused by backporting lpj adjustment

Commit ed26aacfb5f71eecb20a ("mips: Add udelay lpj numbers adjustment")
has backported to 4.4~5.4, but the "struct cpufreq_freqs" (and also the
cpufreq notifier machanism) of 4.4~4.19 are different from the upstream
kernel. These differences cause build errors, and this patch can fix the
build.

Cc: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Cc: Stable <stable@vger.kernel.org> # 4.4/4.9/4.14/4.19
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/kernel/time.c