Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24293
b: refs/heads/master
c: dd6cc76
h: refs/heads/master
i:
  24291: bd18bc3
v: v3
  • Loading branch information
KAMEZAWA Hiroyuki authored and Linus Torvalds committed Mar 27, 2006
1 parent 2623d20 commit ecdc4f6
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: 5cdac7ca1b727184b1af21effaffcb9e2cd535c2
refs/heads/master: dd6cc7631cf2a63b3d6c32619054e017479e72ca
4 changes: 2 additions & 2 deletions trunk/include/asm-h8300/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ extern unsigned long memory_end;
#define page_to_virt(page) ((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
#define pfn_valid(page) (page < max_mapnr)

#define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
#define page_to_pfn(page) virt_to_pfn(page_to_virt(page))
#define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT)

#define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
((void *)(kaddr) < (void *)memory_end))
Expand All @@ -81,6 +80,7 @@ extern unsigned long memory_end;

#endif /* __KERNEL__ */

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

#endif /* _H8300_PAGE_H */

0 comments on commit ecdc4f6

Please sign in to comment.