original_kernel/arch
Jared Hulbert 30afcb4bd2 return pfn from direct_access, for XIP
Alter the block device ->direct_access() API to work with the new
get_xip_mem() API (that requires both kaddr and pfn are returned).

Some architectures will not do the right thing in their virt_to_page() for use
by XIP (to translate from the kernel virtual address returned by
direct_access(), to a user mappable pfn in XIP's page fault handler.

However, we can't switch it to just return the pfn and not the kaddr, because
we have no good way to get a kva from a pfn, and XIP requires the kva for its
read(2) and write(2) handlers.  So we have to return both.

Signed-off-by: Jared Hulbert <jaredeh@gmail.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Carsten Otte <cotte@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-mm@kvack.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:23 -07:00
..
alpha
arm
avr32
blackfin
cris
frv
h8300
ia64 hotplug-memory: make online_page() common 2008-04-28 08:58:17 -07:00
m32r
m68k
m68knommu
mips pageflags: standardize comment inclusion in asm-offsets.h and fix MIPS 2008-04-28 08:58:21 -07:00
mn10300
parisc mm: have zonelist contains structs with both a zone pointer and zone_idx 2008-04-28 08:58:18 -07:00
powerpc return pfn from direct_access, for XIP 2008-04-28 08:58:23 -07:00
ppc
s390 KVM: add ioctls to save/store mpstate 2008-04-27 18:21:16 +03:00
sh hotplug-memory: make online_page() common 2008-04-28 08:58:17 -07:00
sparc
sparc64 pageflags: get rid of FLAGS_RESERVED 2008-04-28 08:58:21 -07:00
um x86, bitops: select the generic bitmap search functions 2008-04-26 19:21:17 +02:00
v850
x86 pageflags: use proper page flag functions in Xen 2008-04-28 08:58:22 -07:00
xtensa
.gitignore
Kconfig