Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56600
b: refs/heads/master
c: e3d67b6
h: refs/heads/master
v: v3
  • Loading branch information
David Gibson authored and Paul Mackerras committed May 17, 2007
1 parent 278cea5 commit 9e03954
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39d207036c76ff16650772b83fb1a12ab788ca26
refs/heads/master: e3d67b663b5ededac1b2c552b4f0b4fbe94d7ac3
2 changes: 0 additions & 2 deletions trunk/include/asm-powerpc/mmu-44x.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@

typedef unsigned long long phys_addr_t;

extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t);

typedef struct {
unsigned long id;
unsigned long vdso_base;
Expand Down
15 changes: 0 additions & 15 deletions trunk/include/asm-powerpc/pgtable-ppc32.h
Original file line number Diff line number Diff line change
Expand Up @@ -782,23 +782,8 @@ extern void kernel_set_cachemode (unsigned long address, unsigned long size,
/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
#define kern_addr_valid(addr) (1)

#ifdef CONFIG_PHYS_64BIT
extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from,
unsigned long paddr, unsigned long size, pgprot_t prot);

static inline int io_remap_pfn_range(struct vm_area_struct *vma,
unsigned long vaddr,
unsigned long pfn,
unsigned long size,
pgprot_t prot)
{
phys_addr_t paddr64 = fixup_bigphys_addr(pfn << PAGE_SHIFT, size);
return remap_pfn_range(vma, vaddr, paddr64 >> PAGE_SHIFT, size, prot);
}
#else
#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
remap_pfn_range(vma, vaddr, pfn, size, prot)
#endif

/*
* No page table caches to initialise
Expand Down

0 comments on commit 9e03954

Please sign in to comment.