Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21561
b: refs/heads/master
c: 88d7079
h: refs/heads/master
i:
  21559: 35bae16
v: v3
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 043a08d commit c9d96b5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b4006dcf6a8c43bd482b9c1ec576f0ed270ef23
refs/heads/master: 88d7079458f87d6f2d2261b2f87b7b9416019f5e
18 changes: 18 additions & 0 deletions trunk/arch/sparc64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1805,3 +1805,21 @@ void __flush_tlb_all(void)
__asm__ __volatile__("wrpr %0, 0, %%pstate"
: : "r" (pstate));
}

#ifdef CONFIG_MEMORY_HOTPLUG

void online_page(struct page *page)
{
ClearPageReserved(page);
set_page_count(page, 0);
free_cold_page(page);
totalram_pages++;
num_physpages++;
}

int remove_memory(u64 start, u64 size)
{
return -EINVAL;
}

#endif /* CONFIG_MEMORY_HOTPLUG */

0 comments on commit c9d96b5

Please sign in to comment.