Android: Fix build breakages.

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

Change-Id: I9cdae655b40ed155468f3cef25cdb74bb56c4d3e
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
This commit is contained in:
Mohan Srinivasan 2016-09-07 17:39:42 -07:00 committed by Amit Pundir
parent f52aa97a9b
commit 34363937f7
2 changed files with 4 additions and 0 deletions

View file

@ -3560,6 +3560,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)
@ -3621,3 +3622,4 @@ blk_latency_hist_show(struct io_latency_state *s, char *buf)
}
return bytes_written;
}
EXPORT_SYMBOL(blk_latency_hist_show);

View file

@ -380,8 +380,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;
};