lkml.org 
[lkml]   [2012]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 1/2] export necessary symbols
    Date
    Cc: Andrea Arcangeli <aarcange@redhat.com>
    Cc: Avi Kivity <avi@redhat.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
    ---
    mm/memcontrol.c | 1 +
    mm/mempolicy.c | 1 +
    mm/shmem.c | 1 +
    3 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/mm/memcontrol.c b/mm/memcontrol.c
    index ac35bcc..265ba2f 100644
    --- a/mm/memcontrol.c
    +++ b/mm/memcontrol.c
    @@ -2761,6 +2761,7 @@ int mem_cgroup_cache_charge(struct page *page, struct mm_struct *mm,
    }
    return ret;
    }
    +EXPORT_SYMBOL_GPL(mem_cgroup_cache_charge);

    /*
    * While swap-in, try_charge -> commit or cancel, the page is locked.
    diff --git a/mm/mempolicy.c b/mm/mempolicy.c
    index f15c1b2..ede02e2 100644
    --- a/mm/mempolicy.c
    +++ b/mm/mempolicy.c
    @@ -1907,6 +1907,7 @@ retry_cpuset:
    goto retry_cpuset;
    return page;
    }
    +EXPORT_SYMBOL_GPL(alloc_pages_vma);

    /**
    * alloc_pages_current - Allocate pages.
    diff --git a/mm/shmem.c b/mm/shmem.c
    index 585bd22..f2b8aa7 100644
    --- a/mm/shmem.c
    +++ b/mm/shmem.c
    @@ -3041,6 +3041,7 @@ int shmem_zero_setup(struct vm_area_struct *vma)
    vma->vm_flags |= VM_CAN_NONLINEAR;
    return 0;
    }
    +EXPORT_SYMBOL_GPL(shmem_zero_setup);

    /**
    * shmem_read_mapping_page_gfp - read into page cache, using specified page allocation flags.
    --
    1.7.1.1


    \
     
     \ /
      Last update: 2012-06-04 12:42    [W:0.027 / U:0.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site