[PATCH] Correctly report PnP 64bit resources
authorPetr Vandrovec <petr@vandrovec.name>
Mon, 2 Apr 2007 06:49:46 +0000 (23:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 2 Apr 2007 17:06:08 +0000 (10:06 -0700)
commita2b091dbfb355d0cd35756c6ace0988c9855f3f7
tree32ed4c7c7fb286a67c1842410c5c016611ba8d0e
parent7479d2b90b103f84d956a7177b3f99cbd472b345
[PATCH] Correctly report PnP 64bit resources

Change PnP resource handling code to use proper type for resource start and
length.  Fixes bogus regions reported in /proc/iomem.

I've also made some pointer constant, as they are constant...

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/system.c