Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43338
b: refs/heads/master
c: b0f40ea
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox authored and Tony Luck committed Dec 7, 2006
1 parent c8de708 commit 961c30b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 17e77b1cc31454908aa286bb1db3c611295ce25c
refs/heads/master: b0f40ea04a85b077193676cec78a86cd61495680
11 changes: 5 additions & 6 deletions trunk/include/asm-ia64/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ do { \

#ifdef CONFIG_VIRTUAL_MEM_MAP
extern int ia64_pfn_valid (unsigned long pfn);
#elif defined(CONFIG_FLATMEM)
#else
# define ia64_pfn_valid(pfn) 1
#endif

Expand All @@ -110,12 +110,11 @@ extern struct page *vmem_map;
#ifdef CONFIG_DISCONTIGMEM
# define page_to_pfn(page) ((unsigned long) (page - vmem_map))
# define pfn_to_page(pfn) (vmem_map + (pfn))
#else
# include <asm-generic/memory_model.h>
#endif
#endif

#if defined(CONFIG_FLATMEM) || defined(CONFIG_SPARSEMEM)
/* FLATMEM always configures mem_map (mem_map = vmem_map if necessary) */
#include <asm-generic/memory_model.h>
#else
# include <asm-generic/memory_model.h>
#endif

#ifdef CONFIG_FLATMEM
Expand Down

0 comments on commit 961c30b

Please sign in to comment.