aboutsummaryrefslogtreecommitdiff
path: root/scripts/update-linux-headers.sh
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-07-01 11:42:18 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-07-08 10:09:56 +0300
commit412a82457ef54821362ba27804e24a92fce09761 (patch)
treea199e1967b95ba41efef836b9abdc5546d5f4055 /scripts/update-linux-headers.sh
parentf56fc2d319b18d5e510988374929188867a5f930 (diff)
pci_regs.h: import from linux
It seems to make sense to import pci_regs.h from linux: why maintain our own? As a first step, move the header to standard-headers, and add it to the update script. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
-rwxr-xr-xscripts/update-linux-headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index baf4220b84..47378d93d4 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -31,7 +31,7 @@ fi
cp_virtio() {
from=$1
to=$2
- virtio=$(find "$from" -name '*virtio*h' -o -name "input.h")
+ virtio=$(find "$from" -name '*virtio*h' -o -name "input.h" -o -name "pci_regs.h")
if [ "$virtio" ]; then
rm -rf "$to"
mkdir -p "$to"