lkml.org 
[lkml]   [2008]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/2] Xen: Use native_pte_flags instead of native_pte_val for .pte_flags
    Date
    Using native_pte_val triggers the BUG_ON() in the paravirt_ops
    version of pte_flags().

    Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
    ---
    arch/x86/xen/enlighten.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
    index 3fc0c15..6b169b7 100644
    --- a/arch/x86/xen/enlighten.c
    +++ b/arch/x86/xen/enlighten.c
    @@ -1378,7 +1378,7 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = {
    .ptep_modify_prot_commit = __ptep_modify_prot_commit,

    .pte_val = xen_pte_val,
    - .pte_flags = native_pte_val,
    + .pte_flags = native_pte_flags,
    .pgd_val = xen_pgd_val,

    .make_pte = xen_make_pte,
    --
    1.5.5.GIT


    \
     
     \ /
      Last update: 2008-07-24 17:19    [W:0.019 / U:1.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site