i386: PIT stop only, when in periodic or oneshot mode
authorThomas Gleixner <tglx@linutronix.de>
Sat, 21 Jul 2007 11:37:38 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:15 +0000 (17:49 -0700)
commit7671988b9cd31daf53fd38f8e75c8b881324842b
treefc4aa3a4cf61f73ee5c6025aff9959ad005ef3b8
parent82644459c592a28a3eab682f9b88d81019ddfe8b
i386: PIT stop only, when in periodic or oneshot mode

The patch is necessary on one of my boxen, where programming the stop
sequence twice leads to PIT malfunction.

Sigh !

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/i8253.c