Merge "soc: qcom: hab: adapt to the new get_user_pages()"
This commit is contained in:
commit
8e3c05cbeb
1 changed files with 2 additions and 3 deletions
|
@ -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
|
* 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
|
* 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,
|
ret = get_user_pages(current, current->mm,
|
||||||
address,
|
address,
|
||||||
page_count,
|
page_count,
|
||||||
1,
|
FOLL_WRITE | FOLL_FORCE,
|
||||||
1,
|
|
||||||
pages,
|
pages,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue