Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58639
b: refs/heads/master
c: 41b0483
h: refs/heads/master
i:
  58637: d115578
  58635: 628b473
  58631: e3f9b73
  58623: 0637571
v: v3
  • Loading branch information
Franck Bui-Huu authored and Ralf Baechle committed Jul 10, 2007
1 parent 2c59ca8 commit ecd9a9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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: db38501511a7513ec4f0ae9922d847c135cf3c78
refs/heads/master: 41b0483ee54d89f9ad068ceae3c91cdc7594d050
7 changes: 7 additions & 0 deletions trunk/include/asm-mips/mach-generic/spaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@

#include <linux/const.h>

/*
* This gives the physical RAM offset.
*/
#ifndef PHYS_OFFSET
#define PHYS_OFFSET _AC(0, UL)
#endif

#ifdef CONFIG_32BIT

#define CAC_BASE _AC(0x80000000, UL)
Expand Down
11 changes: 2 additions & 9 deletions trunk/include/asm-mips/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,8 @@

#ifndef __ASSEMBLY__

/*
* This gives the physical RAM offset.
*/
#ifndef PHYS_OFFSET
#define PHYS_OFFSET 0UL
#endif
#include <linux/pfn.h>
#include <linux/io.h>

/*
* It's normally defined only for FLATMEM config but it's
Expand All @@ -48,9 +44,6 @@
*/
#define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET)

#include <linux/pfn.h>
#include <asm/io.h>

extern void clear_page(void * page);
extern void copy_page(void * to, void * from);

Expand Down

0 comments on commit ecd9a9d

Please sign in to comment.