powerpc: linux header sync script includes epapr_hcalls.h
authorBharat Bhushan <r65777@freescale.com>
Tue, 18 Dec 2012 01:13:58 +0000 (01:13 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 7 Jan 2013 16:37:09 +0000 (17:37 +0100)
epapr_hcalls.h is now referenced by kvm_para.h. so this is needed for
QEMU to get compiled on powerpc.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
scripts/update-linux-headers.sh

index 4c7b566fdfbf7cfc3d9b41be590167b4f7793925..120a694313f488334f9156c4a7972832c167f26d 100755 (executable)
@@ -54,6 +54,9 @@ for arch in $ARCHLIST; do
     if [ $arch = x86 ]; then
         cp "$tmpdir/include/asm/hyperv.h" "$output/linux-headers/asm-x86"
     fi
     if [ $arch = x86 ]; then
         cp "$tmpdir/include/asm/hyperv.h" "$output/linux-headers/asm-x86"
     fi
+    if [ $arch = powerpc ]; then
+        cp "$tmpdir/include/asm/epapr_hcalls.h" "$output/linux-headers/asm-powerpc/"
+    fi
 done
 
 rm -rf "$output/linux-headers/linux"
 done
 
 rm -rf "$output/linux-headers/linux"