lkml.org 
[lkml]   [2014]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.13 018/187] sparc64: Fix hex values in comment above pte_modify().
    Date
    3.13.11.7 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: "David S. Miller" <davem@davemloft.net>

    [ Upstream commit c2e4e676adb40ea764af79d3e08be954e14a0f4c ]

    When _PAGE_SPECIAL and _PAGE_PMD_HUGE were added to the mask, the
    comment was not updated.

    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Kamal Mostafa <kamal@canonical.com>
    ---
    arch/sparc/include/asm/pgtable_64.h | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/sparc/include/asm/pgtable_64.h b/arch/sparc/include/asm/pgtable_64.h
    index 1f28103..50b2d78 100644
    --- a/arch/sparc/include/asm/pgtable_64.h
    +++ b/arch/sparc/include/asm/pgtable_64.h
    @@ -258,8 +258,8 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t prot)
    {
    unsigned long mask, tmp;

    - /* SUN4U: 0x600307ffffffecb8 (negated == 0x9ffcf80000001347)
    - * SUN4V: 0x30ffffffffffee17 (negated == 0xcf000000000011e8)
    + /* SUN4U: 0x630107ffffffecb8 (negated == 0x9cfef80000001347)
    + * SUN4V: 0x33ffffffffffee17 (negated == 0xcc000000000011e8)
    *
    * Even if we use negation tricks the result is still a 6
    * instruction sequence, so don't try to play fancy and just
    --
    1.9.1


    \
     
     \ /
      Last update: 2014-09-16 01:41    [W:4.113 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site