Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43382
b: refs/heads/master
c: 3ff1559
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Nov 30, 2006
1 parent ab219d8 commit 4ef6d52
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 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: 5cd372e170f1827164e3bd267dff80962ded49d6
refs/heads/master: 3ff1559eae70d5fb542eaa087389223dce4e364f
5 changes: 5 additions & 0 deletions trunk/arch/arm/mm/mm.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* the upper-most page table pointer */

#ifdef CONFIG_MMU

extern pmd_t *top_pmd;

#define TOP_PTE(x) pte_offset_kernel(top_pmd, x)
Expand All @@ -13,6 +16,8 @@ static inline pmd_t *pmd_off_k(unsigned long virt)
return pmd_off(pgd_offset_k(virt), virt);
}

#endif

struct map_desc;
struct meminfo;
struct pglist_data;
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/arm/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/bootmem.h>

#include <asm/cacheflush.h>
#include <asm/io.h>
#include <asm/page.h>
#include <asm/mach/arch.h>

#include "mm.h"

Expand Down Expand Up @@ -76,7 +78,7 @@ void __iomem *__ioremap(unsigned long phys_addr, size_t size,
}
EXPORT_SYMBOL(__ioremap);

void __iounmap(void __iomem *addr)
void __iounmap(volatile void __iomem *addr)
{
}
EXPORT_SYMBOL(__iounmap);
1 change: 0 additions & 1 deletion trunk/include/asm-arm/pgtable-nommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#define PAGE_READONLY __pgprot(0)
#define PAGE_KERNEL __pgprot(0)

//extern void paging_init(struct meminfo *, struct machine_desc *);
#define swapper_pg_dir ((pgd_t *) 0)

#define __swp_type(x) (0)
Expand Down

0 comments on commit 4ef6d52

Please sign in to comment.