summaryrefslogtreecommitdiff
path: root/include/sound/s3c24xx_uda134x.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-09-23 17:53:52 -0700
committerDan Williams <dan.j.williams@intel.com>2016-09-24 11:45:38 -0700
commit595c73071e6641e59b83911fbb4026e767471000 (patch)
tree52feca3df3886d10dfc2fd1750658b212846cbb2 /include/sound/s3c24xx_uda134x.h
parent11294d63ac915230a36b0603c62134ef7b173d0a (diff)
libnvdimm, region: fix flush hint table thinko
The definition of the flush hint table as: void __iomem *flush_wpq[0][0]; ...passed the unit test, but is broken as flush_wpq[0][1] and flush_wpq[1][0] refer to the same entry. Fix this to use a helper that calculates a slot in the table based on the geometry of flush hints in the region. This is important to get right since virtualization solutions use this mechanism to trigger hypervisor flushes to platform persistence. Reported-by: Dave Jiang <dave.jiang@intel.com> Tested-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/sound/s3c24xx_uda134x.h')
0 files changed, 0 insertions, 0 deletions