Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28946
b: refs/heads/master
c: d501e62
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Jun 23, 2006
1 parent d6d10f7 commit 5403536
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 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: 485bb99b49a173a22a0bbf4e189465414947ecac
refs/heads/master: d501e62bc7796e90b0312648e23ac39490dfbf87
1 change: 0 additions & 1 deletion trunk/include/asm-mips/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#ifdef CONFIG_DISCONTIGMEM

#define kvaddr_to_nid(kvaddr) pa_to_nid(__pa(kvaddr))
#define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT)

#endif /* CONFIG_DISCONTIGMEM */
Expand Down
5 changes: 0 additions & 5 deletions trunk/include/asm-parisc/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ extern struct node_map_data node_data[];

#define NODE_DATA(nid) (&node_data[nid].pg_data)

/*
* Given a kernel address, find the home node of the underlying memory.
*/
#define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT)

#define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn)
#define node_end_pfn(nid) \
({ \
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-x86_64/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ static inline __attribute__((pure)) int phys_to_nid(unsigned long addr)

#ifdef CONFIG_DISCONTIGMEM
#define pfn_to_nid(pfn) phys_to_nid((unsigned long)(pfn) << PAGE_SHIFT)
#define kvaddr_to_nid(kaddr) phys_to_nid(__pa(kaddr))

extern int pfn_valid(unsigned long pfn);
#endif
Expand Down

0 comments on commit 5403536

Please sign in to comment.