Commit 63792bbd authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds

[PATCH] mmtimer quietness

Quiet mmtimer on non-SGI boxes (previously it printed "mmtimer: unable to
determine clock frequency").
Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6bf4692f
......@@ -184,6 +184,9 @@ static struct miscdevice mmtimer_miscdev = {
*/
static int __init mmtimer_init(void)
{
if (!ia64_platform_is("sn2"))
return -1;
/*
* Sanity check the cycles/sec variable
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment