hangcheck-timer parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Would you mind explaining me what this code in 2.6.14-rc3 is supposed
to mean:

drivers/char/hangcheck-timer.c: ---------------------------

/* options - modular */
module_param(hangcheck_tick, int, 0);

/* options - nonmodular */
#ifndef MODULE

static int __init hangcheck_parse_tick(char *str)
{
	int par;
	if (get_option(&str,&par))
		hangcheck_tick = par;
	return 1;
}

__setup("hcheck_tick", hangcheck_parse_tick);
#endif /* not MODULE */
------------------------------------------------------------

Was anything wrong with using hangcheck-timer.hangcheck_tick=1000 ?
Too long to type into grub.conf?

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux