summaryrefslogtreecommitdiff
path: root/drivers/xen/xen-acpi-processor.c
diff options
context:
space:
mode:
authorLiu, Jinsong <jinsong.liu@intel.com>2012-06-15 09:03:39 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-07-19 15:51:41 -0400
commita867e5d6b362fc2982f19c5223f1946292643e57 (patch)
tree4dc03701387d766b5f2b44c3d3efa0e8e350f1b4 /drivers/xen/xen-acpi-processor.c
parent1b2a05516e42149a5e9f0f5aeba2c7fa9574b3f4 (diff)
downloadlwn-a867e5d6b362fc2982f19c5223f1946292643e57.tar.gz
lwn-a867e5d6b362fc2982f19c5223f1946292643e57.zip
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 'drivers/xen/xen-acpi-processor.c')
0 files changed, 0 insertions, 0 deletions