From: Chuansheng Liu Date: Mon, 17 Dec 2012 23:59:50 +0000 (-0800) Subject: watchdog: store the watchdog sample period as a variable X-Git-Tag: v3.8-rc1~74^2~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f34c400914f165b7b3812459be2d77b8aa1f1e4;p=pandora-kernel.git 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 Cc: Don Zickus Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed