Commit 18e71e48 authored by Kalesh Singh's avatar Kalesh Singh
Browse files

ANDROID: mthp: Fixup ABI for frag list



Introduce swap_info_ext struct

Move the added frag_clusters and frag_cluster_nr fields
out of swap_info_struct and into the swap_info_ext struct;
to maintain ABI compatibilty.

The swap type is used the get the corresponding swap_info_ext
for a give swap_info_struct.

Ensure that swap_info_ext is allocated and freed
along with swap_info_struct.

Change-Id: If4bcc8a1828dc65048dc2681a70cefcba6968c66
Bug: 313807618
Signed-off-by: default avatarKalesh Singh <kaleshsingh@google.com>
parent 4b271e87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment