lkml.org 
[lkml]   [2011]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v2 0/2] Dummy HPAGE_* constants for !CONFIG_HUGETLB_PAGE
    Date
    From: David Daney <david.daney@cavium.com>

    After a, somewhat heated, discussion with David Rientjes, I think the
    following approach will work.

    The first patch adds HPAGE_SHIFT, needed by MIPS.

    The second cleans up the exiting HPAGE_MASK and HPAGE_SIZE

    David Daney (2):
    hugetlb: Provide a default HPAGE_SHIFT if !CONFIG_HUGETLB_PAGE
    hugetlb: Provide safer dummy values for HPAGE_MASK and HPAGE_SIZE

    include/linux/hugetlb.h | 6 ++++--
    1 files changed, 4 insertions(+), 2 deletions(-)

    Cc: David Rientjes <rientjes@google.com>
    --
    1.7.2.3



    \
     
     \ /
      Last update: 2011-11-17 22:59    [W:2.987 / U:0.212 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site