summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init.c
diff options
context:
space:
mode:
authorEliav Farber <farbere@amazon.com>2022-10-20 12:44:58 +0000
committerBorislav Petkov (AMD) <bp@alien8.de>2022-12-30 15:51:41 +0100
commite84077437902ec99eba0a6b516df772653f142c7 (patch)
tree2dd1f5c8ebf32225652990ba3681bc3424b558a9 /arch/x86/mm/init.c
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-e84077437902ec99eba0a6b516df772653f142c7.tar.bz2
EDAC/device: Fix period calculation in edac_device_reset_delay_period()
Fix period calculation in case user sets a value of 1000. The input of round_jiffies_relative() should be in jiffies and not in milli-seconds. [ bp: Use the same code pattern as in edac_device_workq_setup() for clarity. ] Fixes: c4cf3b454eca ("EDAC: Rework workqueue handling") Signed-off-by: Eliav Farber <farbere@amazon.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@kernel.org> Link: https://lore.kernel.org/r/20221020124458.22153-1-farbere@amazon.com
Diffstat (limited to 'arch/x86/mm/init.c')
0 files changed, 0 insertions, 0 deletions