Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16310
b: refs/heads/master
c: a94b3ab
h: refs/heads/master
v: v3
  • Loading branch information
Mike Kravetz authored and Linus Torvalds committed Jan 6, 2006
1 parent c54e17a commit 00e4d95
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 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: d5afa6dcf74c0efb60ce07c63d0a727be93c67c5
refs/heads/master: a94b3ab7eab4edcc9b2cb474b188f774c331adf7
6 changes: 0 additions & 6 deletions trunk/include/linux/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -603,12 +603,6 @@ void sparse_init(void);
#define sparse_index_init(_sec, _nid) do {} while (0)
#endif /* CONFIG_SPARSEMEM */

#ifdef CONFIG_NODES_SPAN_OTHER_NODES
#define early_pfn_in_nid(pfn, nid) (early_pfn_to_nid(pfn) == (nid))
#else
#define early_pfn_in_nid(pfn, nid) (1)
#endif

#ifndef early_pfn_valid
#define early_pfn_valid(pfn) (1)
#endif
Expand Down
2 changes: 0 additions & 2 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1708,8 +1708,6 @@ void __devinit memmap_init_zone(unsigned long size, int nid, unsigned long zone,
for (pfn = start_pfn; pfn < end_pfn; pfn++, page++) {
if (!early_pfn_valid(pfn))
continue;
if (!early_pfn_in_nid(pfn, nid))
continue;
page = pfn_to_page(pfn);
set_page_links(page, zone, nid, pfn);
set_page_count(page, 1);
Expand Down

0 comments on commit 00e4d95

Please sign in to comment.