ia64/xen-unstable

view tools/check/check_hotplug @ 9488:0a6f5527ca4b

[IA64] set itv handoff as masked and enable reading irr[0-3]

Set initial vcpu itv handoff state to mask the timer vector.
This seems to match hardware and makes logical sense from a
spurious interrupt perspective. Enable vcpu_get_irr[0-3]
functions as they seem to work and have the proper backing.
This enables the check_sal_cache_flush() in arch/ia64/kernel.sal.c
to work unmodified, allowing us to remove the Xen changes from
the file (and thus the file from the sparse tree).

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Tue Apr 04 09:39:45 2006 -0600 (2006-04-04)
parents 5ae89ce67486
children 66e16c4685f5
line source
1 #!/bin/bash
2 # CHECK-INSTALL
4 function error {
5 echo
6 echo ' *** Check for the hotplug scripts (hotplug) FAILED'
7 exit 1
8 }
9 [ -x "$(which udevinfo)" ] && \
10 UDEV_VERSION=$(udevinfo -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/')
12 if [ -n "$UDEV_VERSION" ] && [ $UDEV_VERSION -ge 059 ]; then
13 exit 0
14 fi
16 which hotplug 1>/dev/null 2>&1 || error