mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
kernel/watchdog.c: Use proper ANSI C prototypes
We try to enforce it by using -Wstrict-prototypes, but apparently they
sometimes get through. Introduced by 4eec42f392
("watchdog: Change
the default timeout and configure nmi watchdog period based").
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5e152b4c9e
commit
5f2e8e2b0b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ __setup("nosoftlockup", nosoftlockup_setup);
|
|||
* the thresholds with a factor: we make the soft threshold twice the amount of
|
||||
* time the hard threshold is.
|
||||
*/
|
||||
static int get_softlockup_thresh()
|
||||
static int get_softlockup_thresh(void)
|
||||
{
|
||||
return watchdog_thresh * 2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue