lkml.org 
[lkml]   [2008]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 02/33] x86: ioremap of 64-bit resource on 32-bit kernel fix
    2.6.25-stable review patch.  If anyone has any objections, please let us
    know.

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

    commit 756a6c68556600aec9460346332884d891d5beb4 upstream

    x86: ioremap of 64-bit resource on 32-bit kernel fix

    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Cc: Chuck Ebbert <cebbert@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    arch/x86/mm/ioremap.c | 5 +++--
    1 file changed, 3 insertions(+), 2 deletions(-)

    --- a/arch/x86/mm/ioremap.c
    +++ b/arch/x86/mm/ioremap.c
    @@ -39,7 +39,7 @@ EXPORT_SYMBOL(__phys_addr);

    int page_is_ram(unsigned long pagenr)
    {
    - unsigned long addr, end;
    + resource_size_t addr, end;
    int i;

    /*
    @@ -109,7 +109,8 @@ static int ioremap_change_attr(unsigned
    static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size,
    enum ioremap_mode mode)
    {
    - unsigned long pfn, offset, last_addr, vaddr;
    + unsigned long pfn, offset, vaddr;
    + resource_size_t last_addr;
    struct vm_struct *area;
    pgprot_t prot;

    --


    \
     
     \ /
      Last update: 2008-08-04 22:23    [W:0.022 / U:0.796 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site