Patchwork powerpc: linux header sync script includes epapr_hcalls.h

login
register
mail settings
Submitter Bharat Bhushan
Date Dec. 18, 2012, 11:13 a.m.
Message ID <1355829238-32409-1-git-send-email-bharat.bhushan@freescale.com>
Download mbox | patch
Permalink /patch/207078/
State New
Headers show

Comments

Bharat Bhushan - Dec. 18, 2012, 11:13 a.m.
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>
---

This patch is after all the discussion we had on patch with subject
"Added uapi directory in linux-header" and the mentioned patch is
no more needed.

 scripts/update-linux-headers.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Alexander Graf - Dec. 18, 2012, 12:05 p.m.
On 18.12.2012, at 12:13, Bharat Bhushan wrote:

> 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>

Thanks, applied to ppc-next.

Alex

> ---
> 
> This patch is after all the discussion we had on patch with subject
> "Added uapi directory in linux-header" and the mentioned patch is
> no more needed.
> 
> scripts/update-linux-headers.sh |    3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index 4c7b566..120a694 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -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 = powerpc ]; then
> +        cp "$tmpdir/include/asm/epapr_hcalls.h" "$output/linux-headers/asm-powerpc/"
> +    fi
> done
> 
> rm -rf "$output/linux-headers/linux"
> -- 
> 1.7.0.4
> 
>

Patch

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 4c7b566..120a694 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -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 = powerpc ]; then
+        cp "$tmpdir/include/asm/epapr_hcalls.h" "$output/linux-headers/asm-powerpc/"
+    fi
 done
 
 rm -rf "$output/linux-headers/linux"