Revert "ANDROID: mm: page_pinner: use EXPORT_SYMBOL_GPL"
This reverts commit d820d22b5d
.
Reason for revert: Needed for non-GPL use of put_page() which is allowed by upstream kernel.
Change-Id: I9a2a51c1e2d11ccc5403fc5a8510f577446add92
Signed-off-by: Todd Kjos <tkjos@google.com>
This commit is contained in:
@@ -59,7 +59,7 @@ static bool page_pinner_enabled;
|
|||||||
DEFINE_STATIC_KEY_FALSE(page_pinner_inited);
|
DEFINE_STATIC_KEY_FALSE(page_pinner_inited);
|
||||||
|
|
||||||
DEFINE_STATIC_KEY_TRUE(failure_tracking);
|
DEFINE_STATIC_KEY_TRUE(failure_tracking);
|
||||||
EXPORT_SYMBOL_GPL(failure_tracking);
|
EXPORT_SYMBOL(failure_tracking);
|
||||||
|
|
||||||
static depot_stack_handle_t failure_handle;
|
static depot_stack_handle_t failure_handle;
|
||||||
|
|
||||||
@@ -350,7 +350,7 @@ void __page_pinner_migration_failed(struct page *page)
|
|||||||
acf_pinner.pinner[idx] = record;
|
acf_pinner.pinner[idx] = record;
|
||||||
spin_unlock_irqrestore(&acf_pinner.lock, flags);
|
spin_unlock_irqrestore(&acf_pinner.lock, flags);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(__page_pinner_migration_failed);
|
EXPORT_SYMBOL(__page_pinner_migration_failed);
|
||||||
|
|
||||||
void __page_pinner_mark_migration_failed_pages(struct list_head *page_list)
|
void __page_pinner_mark_migration_failed_pages(struct list_head *page_list)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user