linux-stable-rt/drivers
Roland Dreier 8b150478ae [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses
Change the phys_mem_access_prot() function to take a pfn instead of an
address.  This allows mmap64() to work on /dev/mem for addresses above 4G
on 32-bit architectures.  We start with a pfn in mmap_mem(), so there's no
need to convert to an address; in fact, it's actively bad, since the
conversion can overflow when the address is above 4G.

Similarly fix the ppc32 page_is_ram() function to avoid a conversion to an
address by directly comparing to max_pfn.  Working with max_pfn instead of
high_memory fixes page_is_ram() to give the right answer for highmem pages.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-10-29 14:25:49 +10:00
..
acorn
acpi [PATCH] `unaligned access' in acpi get_root_bridge_busnr() 2005-10-19 23:04:31 -07:00
atm
base
block powerpc: set the driver.owner field for all vio drivers 2005-10-24 16:59:13 +10:00
bluetooth
cdrom powerpc: set the driver.owner field for all vio drivers 2005-10-24 16:59:13 +10:00
char [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses 2005-10-29 14:25:49 +10:00
connector
cpufreq [PATCH] cpufreq: SMP fix for conservative governor 2005-10-27 16:29:24 -07:00
crypto
dio
eisa
fc4
firmware
hwmon
i2c
ide
ieee1394 [PATCH] raw1394: fix locking in the presence of SMP and interrupts 2005-10-19 23:04:30 -07:00
infiniband [PATCH] ib: mthca: Always re-arm EQs in mthca_tavor_interrupt() 2005-10-23 16:38:39 -07:00
input [PATCH] uniput - fix crash on SMP 2005-10-17 17:03:57 -07:00
isdn
macintosh powerpc: Merge time.c and asm/time.h. 2005-10-20 09:23:26 +10:00
mca
md [PATCH] md: make sure mdthreads will always respond to kthread_stop 2005-10-26 10:39:42 -07:00
media [PATCH] Kconfig: saa7134-dvb should not select cx22702 2005-10-23 16:38:39 -07:00
message [PATCH] mptsas: fix phy identifiers 2005-10-21 12:17:43 -07:00
mfd
misc
mmc
mtd
net [PATCH] ppc64: make dma_addr_t 64 bits 2005-10-27 16:45:50 +10:00
nubus
oprofile
parisc
parport
pci PCI: be more verbose about resource quirks 2005-10-25 20:40:09 -07:00
pcmcia [PATCH] MPC8xx PCMCIA driver 2005-10-29 13:55:35 +10:00
pnp
s390
sbus
scsi Merge in v2.6.14 by hand 2005-10-28 13:38:53 +10:00
serial [SERIAL] new hp diva console port 2005-10-24 22:16:38 +01:00
sh
sn
tc
telephony
usb [PATCH] USB: fix bug in handling of highspeed usb HID devices 2005-10-17 14:45:49 -07:00
video [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses 2005-10-29 14:25:49 +10:00
w1 [PATCH] Dallas's 1-wire bus compile error 2005-10-14 17:10:13 -07:00
zorro
Kconfig
Makefile