Skip to content

Commit

Permalink
x86: ioremap of 64-bit resource on 32-bit kernel fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 17, 2008
1 parent 5af5573 commit 756a6c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/x86/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static inline int phys_addr_valid(unsigned long addr)

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

/*
Expand Down Expand Up @@ -120,7 +120,8 @@ int ioremap_change_attr(unsigned long vaddr, unsigned long size,
static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size,
unsigned long prot_val)
{
unsigned long pfn, offset, last_addr, vaddr;
unsigned long pfn, offset, vaddr;
resource_size_t last_addr;
struct vm_struct *area;
unsigned long new_prot_val;
pgprot_t prot;
Expand Down

0 comments on commit 756a6c6

Please sign in to comment.