summaryrefslogtreecommitdiff
path: root/protos.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-04-22 22:51:09 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-04-22 22:51:09 +0200
commit89c9d876cffac1867b668359f3b60657450130a1 (patch)
tree2e47b288734c583865ccae8d3775ec55d3889407 /protos.h
parent2640c81e49ad52a5223689bffcbe8c1c14ddfdc9 (diff)
ring_tx: user_may_pull_from_tx: fix check for user frame
TP_STATUS_AVAILABLE is 0, thus the condition will always be successful. Fix this bug by properly checking kernel flags. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'protos.h')
0 files changed, 0 insertions, 0 deletions
king it even) when it is done. Thus the guest can make sure the time values it got are consistent by checking the version before and after reading them. Add CPU barries after getting version value just like what function vread_pvclock does, because all of callees in this function is inline. Fixes: 502dfeff239e8313bfbe906ca0a1a6827ac8481b Cc: stable@vger.kernel.org Signed-off-by: Minfei Huang <mnghuan@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')