summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLiu, Jinsong <jinsong.liu@intel.com>2012-06-15 05:03:39 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-07-19 23:51:41 +0400
commita867e5d6b362fc2982f19c5223f1946292643e57 (patch)
tree4dc03701387d766b5f2b44c3d3efa0e8e350f1b4 /scripts
parent1b2a05516e42149a5e9f0f5aeba2c7fa9574b3f4 (diff)
downloadlinux-a867e5d6b362fc2982f19c5223f1946292643e57.tar.xz
xen/mce: add .poll method for mcelog device driver
If a driver leaves its poll method NULL, the device is assumed to be both readable and writable without blocking. This patch add .poll method to xen mcelog device driver, so that when mcelog use system calls like ppoll or select, it would be blocked when no data available, and avoid spinning at CPU. Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions