diff options
author | Elliott Hughes <enh@google.com> | 2016-08-23 17:47:49 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-08-23 17:47:49 -0700 |
commit | 9eed624c760b9c70de9a8f75ff84c5f085d62fdc (patch) | |
tree | 2f8b3a9b0d1678fc2ba2eebd54d21687cd3db8ac /ksmutils | |
parent | cb0112fe640d7b8a9668f91d2cad7234bd63f880 (diff) | |
download | extras-9eed624c760b9c70de9a8f75ff84c5f085d62fdc.tar.gz |
Don't invent our own pagemap constants.
Use the uapi ones instead, so I don't have to think about whether ours
are correct.
Bug: http://b/31044648
Change-Id: Ibe4a078ad3223419301a5f585e8ed24dd7366ce2
Diffstat (limited to 'ksmutils')
-rw-r--r-- | ksmutils/ksminfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ksmutils/ksminfo.c b/ksmutils/ksminfo.c index 278692f4..a0b03a14 100644 --- a/ksmutils/ksminfo.c +++ b/ksmutils/ksminfo.c @@ -241,7 +241,7 @@ static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, ui pagemap[i]); continue; } - if (!(flags & PM_PAGE_KSM)) { + if (!(flags & KPF_KSM)) { continue; } vaddr = pm_map_start(maps[i]) + j * pm_kernel_pagesize(ker); @@ -482,4 +482,3 @@ exit: return rc; } - |