Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105306
b: refs/heads/master
c: 01ad1c0
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jul 24, 2008
1 parent aa54f58 commit 0013395
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: b54bbf7b81170f03597c17dd0b559e3006bc9868
refs/heads/master: 01ad1c0827db5b3695c53e296dbb2c1da16a0911
2 changes: 2 additions & 0 deletions trunk/mm/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
unsigned long floor, unsigned long ceiling);

extern void prep_compound_page(struct page *page, unsigned long order);

static inline void set_page_count(struct page *page, int v)
{
atomic_set(&page->_count, v);
Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ static void free_compound_page(struct page *page)
__free_pages_ok(page, compound_order(page));
}

static void prep_compound_page(struct page *page, unsigned long order)
void prep_compound_page(struct page *page, unsigned long order)
{
int i;
int nr_pages = 1 << order;
Expand Down

0 comments on commit 0013395

Please sign in to comment.