Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea79ca90 authored by Mohan Srinivasan's avatar Mohan Srinivasan Committed by Amit Pundir
Browse files

Android: Fix build breakages.



The IO latency histogram change broke allmodconfig and
allnoconfig builds. This fixes those breakages.

Change-Id: I9cdae655b40ed155468f3cef25cdb74bb56c4d3e
Signed-off-by: default avatarMohan Srinivasan <srmohan@google.com>
parent 266ee74d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3568,6 +3568,7 @@ blk_zero_latency_hist(struct io_latency_state *s)
	s->latency_reads_elems = 0;
	s->latency_writes_elems = 0;
}
EXPORT_SYMBOL(blk_zero_latency_hist);

ssize_t
blk_latency_hist_show(struct io_latency_state *s, char *buf)
@@ -3629,3 +3630,4 @@ blk_latency_hist_show(struct io_latency_state *s, char *buf)
	}
	return bytes_written;
}
EXPORT_SYMBOL(blk_latency_hist_show);
+2 −0
Original line number Diff line number Diff line
@@ -407,8 +407,10 @@ struct mmc_host {
	} embedded_sdio_data;
#endif

#ifdef CONFIG_BLOCK
	int			latency_hist_enabled;
	struct io_latency_state io_lat_s;
#endif

	unsigned long		private[0] ____cacheline_aligned;
};