Commit 3767674e authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

ANDROID: khugepaged: fix mixing declarations warning in retract_page_tables



vm_write_begin() was added before variable definition, producing a
"mixing declarations and code is a C99 extension" warning. Fix by
rearranging the code.

Fixes: 66544e79 ("ANDROID: mm/khugepaged: add missing vm_write_{begin|end}")
Bug: 257443051
Change-Id: I6e85ccfabd5e37b1397c654d61d0b8177326c3d8
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
parent c440edc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment