]> err.no Git - linux-2.6/commitdiff
[PATCH] x86_64 two timer entries in /sys
authorKarsten Wiese <annabellesgarden@yahoo.de>
Mon, 14 Nov 2005 00:06:22 +0000 (16:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:10 +0000 (18:14 -0800)
attached patch renames one instance of
/sys/devices/system/timer
to
/sys/devices/system/timer_pit
to avoid a name clash with another instance created in time.c.

Acked-by: Andi Kleen <ak@muc.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/i8259.c

index c6c9791d77c18aa2ed7025f7b9c7a0b07e18f132..a9368d4c4aba1ceba5df433b9fdfb90713f1f543 100644 (file)
@@ -515,7 +515,7 @@ void i8254_timer_resume(void)
 }
 
 static struct sysdev_class timer_sysclass = {
-       set_kset_name("timer"),
+       set_kset_name("timer_pit"),
        .resume         = timer_resume,
 };