]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/xen/grant-table.c
xen: make grant table arch portable
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 2 Apr 2008 17:54:00 +0000 (10:54 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 21:57:32 +0000 (23:57 +0200)
commit8d3d2106c19f4e69f208f59fe484ca113fbb48b3
tree060b83ab832af7a5ca4bb672673dd9262f0ba3bc
parent5f0ababbf49f12330effab932a18055a50f4c0a1
xen: make grant table arch portable

split out x86 specific part from grant-table.c and
allow ia64/xen specific initialization.
ia64/xen grant table is based on pseudo physical address
(guest physical address) unlike x86/xen. On ia64 init_mm
doesn't map identity straight mapped area.
ia64/xen specific grant table initialization is necessary.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/xen/Makefile
arch/x86/xen/grant-table.c [new file with mode: 0644]
drivers/xen/grant-table.c
include/xen/grant_table.h