]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] hpet: allow shared interrupts
authorClemens Ladisch <clemens@ladisch.de>
Sun, 30 Oct 2005 23:03:34 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:29 +0000 (17:37 -0800)
commit0d29086177aaa1e7d14e6ebb7fc067b3ca6d5c11
tree1729f8bb3d6e7d1a1e061219fb01fecf90f183e4
parent189e2dd1376c1eb2f3a717a15f1ed8c7d0b3811a
[PATCH] hpet: allow shared interrupts

This patch adds support for shared HPET interrupts.

The driver previously acknowledged interrupts for both edge and level
interrupts, but didn't actually allow a shared interrupt in the latter case.

We use a new per-timer flag to save whether the timer's interrupt might be
shared, and use it to do the processing required for level interrupts only if
necessary.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Acked-by: Bob Picco <bob.picco@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hpet.c