diff options
| author | Christoph Lameter <clameter@sgi.com> | 2004-09-23 19:47:20 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-23 19:47:20 -0700 |
| commit | 63792bbdbdb29c85ef28efb2004e4a9e0575aa06 (patch) | |
| tree | 5bcb927f95b5a5e92cb93832fae06f55d34ebf82 /drivers/char/mmtimer.c | |
| parent | 6bf4692f124ec09ee0361fefba5afb3c6d91d612 (diff) | |
[PATCH] mmtimer quietness
Quiet mmtimer on non-SGI boxes (previously it printed "mmtimer: unable to
determine clock frequency").
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/mmtimer.c')
| -rw-r--r-- | drivers/char/mmtimer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index b9a8e90ba0ac..20aa170db6a8 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c @@ -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 */ |
