Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126257
b: refs/heads/master
c: 9f572e3
h: refs/heads/master
i:
  126255: c745e69
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Jan 6, 2009
1 parent 89d929f commit 415bc06
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 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: 901608d9045146aec6f14a7777ea4b1501c379f0
refs/heads/master: 9f572e3f96b8a2ef70dcb881e64c7b9c10057d98
7 changes: 0 additions & 7 deletions trunk/include/asm-generic/memory_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,8 @@
})
#endif /* CONFIG_FLATMEM/DISCONTIGMEM/SPARSEMEM */

#ifdef CONFIG_OUT_OF_LINE_PFN_TO_PAGE
struct page;
/* this is useful when inlined pfn_to_page is too big */
extern struct page *pfn_to_page(unsigned long pfn);
extern unsigned long page_to_pfn(struct page *page);
#else
#define page_to_pfn __page_to_pfn
#define pfn_to_page __pfn_to_page
#endif /* CONFIG_OUT_OF_LINE_PFN_TO_PAGE */

#endif /* __ASSEMBLY__ */

Expand Down
13 changes: 0 additions & 13 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4587,19 +4587,6 @@ void *__init alloc_large_system_hash(const char *tablename,
return table;
}

#ifdef CONFIG_OUT_OF_LINE_PFN_TO_PAGE
struct page *pfn_to_page(unsigned long pfn)
{
return __pfn_to_page(pfn);
}
unsigned long page_to_pfn(struct page *page)
{
return __page_to_pfn(page);
}
EXPORT_SYMBOL(pfn_to_page);
EXPORT_SYMBOL(page_to_pfn);
#endif /* CONFIG_OUT_OF_LINE_PFN_TO_PAGE */

/* Return a pointer to the bitmap storing bits affecting a block of pages */
static inline unsigned long *get_pageblock_bitmap(struct zone *zone,
unsigned long pfn)
Expand Down

0 comments on commit 415bc06

Please sign in to comment.