diff options
author | Chuansheng Liu <chuansheng.liu@intel.com> | 2012-12-18 00:59:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 02:15:13 +0100 |
commit | 0f34c400914f165b7b3812459be2d77b8aa1f1e4 (patch) | |
tree | b45e4acaadd16362d08d107f24ac63b6e61e142c /kernel/cred.c | |
parent | usb: musb: use io{read,write}*_rep accessors (diff) | |
download | linux-0f34c400914f165b7b3812459be2d77b8aa1f1e4.tar.xz linux-0f34c400914f165b7b3812459be2d77b8aa1f1e4.zip |
watchdog: store the watchdog sample period as a variable
Currently getting the sample period is always thru a complex
calculation: get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5).
We can store the sample period as a variable, and set it as __read_mostly
type.
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Cc: Don Zickus <dzickus@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions