xen/mmu: For 64-bit do not call xen_map_identity_early
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 12 Jul 2012 17:59:36 +0000 (13:59 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 23 Aug 2012 15:52:07 +0000 (11:52 -0400)
commitcaaf9ecf16feffa4f1a5a0d617bc78906a114514
treeb439ea614a9d9ca77c46518421d0552c5a352db4
parentae895ed7839f918bbc8d5425b8973b25a534f4eb
xen/mmu: For 64-bit do not call xen_map_identity_early

B/c we do not need it. During the startup the Xen provides
us with all the initial memory mapped that we need to function.

The initial memory mapped is up to the bootstack, which means
we can reference using __ka up to 4.f):

(from xen/interface/xen.h):

 4. This the order of bootstrap elements in the initial virtual region:
   a. relocated kernel image
   b. initial ram disk              [mod_start, mod_len]
   c. list of allocated page frames [mfn_list, nr_pages]
   d. start_info_t structure        [register ESI (x86)]
   e. bootstrap page tables         [pt_base, CR3 (x86)]
   f. bootstrap stack               [register ESP (x86)]

(initial ram disk may be ommitted).

[v1: More comments in git commit]
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/mmu.c