Merge "soc: qcom: hab: adapt to the new get_user_pages()"

This commit is contained in:
Linux Build Service Account 2019-01-17 23:33:46 -08:00 committed by Gerrit - the friendly Code Review server
commit 8e3c05cbeb

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -361,8 +361,7 @@ int habmem_hyp_grant_user(unsigned long address,
ret = get_user_pages(current, current->mm,
address,
page_count,
1,
1,
FOLL_WRITE | FOLL_FORCE,
pages,
NULL);
}