Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250873
b: refs/heads/master
c: 839a4fc
h: refs/heads/master
i:
  250871: c2d659b
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed May 25, 2011
1 parent 4e2cba5 commit ea4bf0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 37b23e0525d393d48a7d59f870b3bc061a30ccdb
refs/heads/master: 839a4fcc8af7412be2efd11f0bd0504757f79f08
4 changes: 2 additions & 2 deletions trunk/mm/memory_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ static int online_pages_range(unsigned long start_pfn, unsigned long nr_pages,
}


int online_pages(unsigned long pfn, unsigned long nr_pages)
int __ref online_pages(unsigned long pfn, unsigned long nr_pages)
{
unsigned long onlined_pages = 0;
struct zone *zone;
Expand Down Expand Up @@ -795,7 +795,7 @@ check_pages_isolated(unsigned long start_pfn, unsigned long end_pfn)
return offlined;
}

static int offline_pages(unsigned long start_pfn,
static int __ref offline_pages(unsigned long start_pfn,
unsigned long end_pfn, unsigned long timeout)
{
unsigned long pfn, nr_pages, expire;
Expand Down
4 changes: 2 additions & 2 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5094,7 +5094,7 @@ void setup_per_zone_wmarks(void)
* 1TB 101 10GB
* 10TB 320 32GB
*/
void calculate_zone_inactive_ratio(struct zone *zone)
void __meminit calculate_zone_inactive_ratio(struct zone *zone)
{
unsigned int gb, ratio;

Expand All @@ -5108,7 +5108,7 @@ void calculate_zone_inactive_ratio(struct zone *zone)
zone->inactive_ratio = ratio;
}

static void __init setup_per_zone_inactive_ratio(void)
static void __meminit setup_per_zone_inactive_ratio(void)
{
struct zone *zone;

Expand Down

0 comments on commit ea4bf0e

Please sign in to comment.