Keir Fraser 609725f877 [PATCH] Fix mmap() of /dev/hpet
The address passed to io_remap_pfn_range() in hpet_mmap() does not need to
be converted using __pa(): it is already a physical address.  This bug was
found and the patch suggested by Clay Harris.

I introduced this particular bug when making io_remap_pfn_range changes a
few months ago.  In fact mmap()ing /dev/hpet has *never* previously worked:
before my changes __pa() was being executed on an ioremap()ed virtual
address, which is also invalid.

Signed-off-by: Keir Fraser <keir@xensource.com>
Cc: Robert Picco <Robert.Picco@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-22 22:17:34 -07:00
..
2005-09-20 21:01:13 +01:00
2005-09-10 10:06:35 -07:00
2005-09-22 07:58:24 -07:00
2005-09-22 22:17:34 -07:00
2005-09-11 19:15:07 -07:00
2005-07-30 09:47:53 -05:00
2005-09-17 11:50:02 -07:00
2005-09-17 11:50:02 -07:00
2005-09-17 15:34:30 -07:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2005-09-08 01:45:47 -04:00
2005-06-21 18:46:32 -07:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00