diff options
author | Keir Fraser <Keir.Fraser@cl.cam.ac.uk> | 2005-09-22 21:43:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-22 22:17:34 -0700 |
commit | 609725f87709724218047a1049913ed233f79d3c (patch) | |
tree | 7ccc4b12808b4de7d248ba7a722637f244155f26 /drivers/hwmon | |
parent | 7243cc05bafdda4c4de77cba00cf87666bd237f7 (diff) | |
download | linux-609725f87709724218047a1049913ed233f79d3c.tar.gz linux-609725f87709724218047a1049913ed233f79d3c.tar.bz2 linux-609725f87709724218047a1049913ed233f79d3c.zip |
[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>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions