[PATCH] hpet: use HPET physical addresses for dup. detection
authorRandy Dunlap <randy_d_dunlap@linux.intel.com>
Sun, 30 Oct 2005 23:03:43 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:31 +0000 (17:37 -0800)
commitb6ab126211e2ab17eecbd063b99742a6b04b228e
treeb92172fb297b29d0fb32e08ac0a2aaaee4fdc2d6
parent757c4724099a31a61754ea5202802eaa1def851c
[PATCH] hpet: use HPET physical addresses for dup. detection

- Use HPET physical address to detect duplicates, not logical addresses.
  Using logical (mapped) addresses fails to detect duplicates
  because ioremap() returns a new mapped address each time.

- iounmap() regions when duplicate/busy areas are found.

Signed-off-by: Randy Dunlap <randy_d_dunlap@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hpet.c