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
..
iSeries
powerpc: move iSeries/HvCallPci.h to platforms/iseries/call_pci.h
2005-10-14 17:16:17 +10:00
abs_addr.h
powerpc: move iSeries/iSeries_pci.h to platforms/iseries
2005-10-14 14:51:42 +10:00
bitops.h
[PATCH] powerpc: merge atomic.h, memory.h
2005-09-25 22:38:46 +10:00
btext.h
ppc64: Rearrange btext initialization for consistency with ppc32
2005-10-22 15:36:52 +10:00
cache.h
cacheflush.h
compat.h
[PATCH] compat: be more consistent about [ug]id_t
2005-09-07 16:57:19 -07:00
current.h
dart.h
ppc64: Fix typo in iommu cleanups that broke pmac build.
2005-09-27 14:24:18 +10:00
delay.h
dma-mapping.h
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
eeh.h
[PATCH] basic iomem annotations (ppc64)
2005-09-09 10:31:57 -07:00
floppy.h
futex.h
[PATCH] powerpc: merge atomic.h, memory.h
2005-09-25 22:38:46 +10:00
hvcall.h
[PATCH] ppc64: Add ptrace data breakpoint support
2005-09-12 17:19:12 +10:00
hvconsole.h
hvcserver.h
ide.h
imalloc.h
io.h
[PATCH] powerpc: merge atomic.h, memory.h
2005-09-25 22:38:46 +10:00
ipcbuf.h
kexec.h
lppaca.h
[PATCH] ppc64: Add VMX save flag to VPA
2005-09-05 00:06:01 -07:00
mmu.h
ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel()
2005-09-23 14:47:58 +10:00
mmu_context.h
mmzone.h
naca.h
[PATCH] Remove NACA fixed address constraint
2005-08-29 10:53:33 +10:00
numnodes.h
nvram.h
paca.h
page.h
[PATCH] powerpc: Merged ppc_asm.h
2005-09-19 09:38:49 +10:00
pci-bridge.h
ppc64: Add a `primary' argument to pci_process_bridge_OF_ranges
2005-10-22 15:03:21 +10:00
pci.h
[PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses
2005-10-29 14:25:49 +10:00
pgalloc.h
pgtable.h
[PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses
2005-10-29 14:25:49 +10:00
plpar_wrappers.h
[PATCH] ppc64: Add ptrace data breakpoint support
2005-09-12 17:19:12 +10:00
ppc32.h
powerpc: merge ppc signal.c and ppc64 signal32.c
2005-10-18 11:17:58 +10:00
ppcdebug.h
prom.h
powerpc: move iSeries/iSeries_pci.h to platforms/iseries
2005-10-14 14:51:42 +10:00
ptrace-common.h
[PATCH] ppc64: Add ptrace data breakpoint support
2005-09-12 17:19:12 +10:00
ptrace.h
[PATCH] ppc64: Add definitions for new PTRACE calls
2005-09-12 17:19:12 +10:00
serial.h
sigcontext.h
signal.h
smp.h
powerpc: Move smp_mpic_message_pass into mpic.c
2005-10-20 17:09:51 +10:00
sparsemem.h
spinlock.h
[PATCH] spinlock consolidation
2005-09-10 10:06:21 -07:00
stat.h
system.h
[PATCH] powerpc: Fix handling of fpscr on 64-bit
2005-10-27 20:48:50 +10:00
systemcfg.h
tce.h
[PATCH] ppc64: Updated Olof iommu updates 2/3
2005-09-21 19:21:07 +10:00
tlb.h
tlbflush.h
Merge by hand from Linus' tree.
2005-09-29 13:13:36 +10:00
uaccess.h
[PATCH] ppc64 get_user annotations
2005-09-29 08:46:27 -07:00
ucontext.h
udbg.h
powerpc: Merge in 64-bit powermac support.
2005-10-22 16:02:39 +10:00
vdso.h