Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24291
b: refs/heads/master
c: bb872f7
h: refs/heads/master
i:
  24289: 718a25e
  24287: f257abf
v: v3
  • Loading branch information
KAMEZAWA Hiroyuki authored and Linus Torvalds committed Mar 27, 2006
1 parent d1b45ef commit bd18bc3
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 89fccaf2c4a4a8318153e3460a92284dadeb8f71
refs/heads/master: bb872f787a9b6a40a4aa206175e768137f595d9c
4 changes: 2 additions & 2 deletions trunk/include/asm-cris/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ typedef struct { unsigned long pgprot; } pgprot_t;

/* On CRIS the PFN numbers doesn't start at 0 so we have to compensate */
/* for that before indexing into the page table starting at mem_map */
#define pfn_to_page(pfn) (mem_map + ((pfn) - (PAGE_OFFSET >> PAGE_SHIFT)))
#define page_to_pfn(page) ((unsigned long)((page) - mem_map) + (PAGE_OFFSET >> PAGE_SHIFT))
#define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT)
#define pfn_valid(pfn) (((pfn) - (PAGE_OFFSET >> PAGE_SHIFT)) < max_mapnr)

/* to index into the page map. our pages all start at physical addr PAGE_OFFSET so
Expand Down Expand Up @@ -77,6 +76,7 @@ typedef struct { unsigned long pgprot; } pgprot_t;

#endif /* __KERNEL__ */

#include <asm-generic/memory_model.h>
#include <asm-generic/page.h>

#endif /* _CRIS_PAGE_H */
Expand Down

0 comments on commit bd18bc3

Please sign in to comment.