Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295309
b: refs/heads/master
c: 2f099a2
h: refs/heads/master
i:
  295307: 0e41383
v: v3
  • Loading branch information
Jonas Bonn committed Mar 6, 2012
1 parent b93847d commit dcd6804
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 01c4d33ac5ca7920f0e0f6b25bdfd3fa479fd973
refs/heads/master: 2f099a280e92c259598d8ed8da82c7ec2dd49845
3 changes: 1 addition & 2 deletions trunk/arch/openrisc/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ extern unsigned long memory_end;

#define pfn_valid(pfn) ((pfn) < max_mapnr)

#define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
((void *)(kaddr) < (void *)memory_end))
#define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr)))

#endif /* __ASSEMBLY__ */

Expand Down

0 comments on commit dcd6804

Please sign in to comment.