mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
mm: remove fastcall from mm/
fastcall is always defined to be empty, remove it [[email protected]: coding-style fixes] Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1e548deb5d
commit
920c7a5d0c
7 changed files with 24 additions and 23 deletions
10
mm/swap.c
10
mm/swap.c
|
|
@ -41,7 +41,7 @@ static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs) = { 0, };
|
|||
* This path almost never happens for VM activity - pages are normally
|
||||
* freed via pagevecs. But it gets used by networking.
|
||||
*/
|
||||
static void fastcall __page_cache_release(struct page *page)
|
||||
static void __page_cache_release(struct page *page)
|
||||
{
|
||||
if (PageLRU(page)) {
|
||||
unsigned long flags;
|
||||
|
|
@ -165,7 +165,7 @@ int rotate_reclaimable_page(struct page *page)
|
|||
/*
|
||||
* FIXME: speed this up?
|
||||
*/
|
||||
void fastcall activate_page(struct page *page)
|
||||
void activate_page(struct page *page)
|
||||
{
|
||||
struct zone *zone = page_zone(page);
|
||||
|
||||
|
|
@ -186,7 +186,7 @@ void fastcall activate_page(struct page *page)
|
|||
* inactive,referenced -> active,unreferenced
|
||||
* active,unreferenced -> active,referenced
|
||||
*/
|
||||
void fastcall mark_page_accessed(struct page *page)
|
||||
void mark_page_accessed(struct page *page)
|
||||
{
|
||||
if (!PageActive(page) && PageReferenced(page) && PageLRU(page)) {
|
||||
activate_page(page);
|
||||
|
|
@ -202,7 +202,7 @@ EXPORT_SYMBOL(mark_page_accessed);
|
|||
* lru_cache_add: add a page to the page lists
|
||||
* @page: the page to add
|
||||
*/
|
||||
void fastcall lru_cache_add(struct page *page)
|
||||
void lru_cache_add(struct page *page)
|
||||
{
|
||||
struct pagevec *pvec = &get_cpu_var(lru_add_pvecs);
|
||||
|
||||
|
|
@ -212,7 +212,7 @@ void fastcall lru_cache_add(struct page *page)
|
|||
put_cpu_var(lru_add_pvecs);
|
||||
}
|
||||
|
||||
void fastcall lru_cache_add_active(struct page *page)
|
||||
void lru_cache_add_active(struct page *page)
|
||||
{
|
||||
struct pagevec *pvec = &get_cpu_var(lru_add_active_pvecs);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue