diff mbox

[v7,2/8] scripts: Include arch/powerpc/include/uapi/asm/eeh.h

Message ID 1440746120-21577-3-git-send-email-gwshan@linux.vnet.ibm.com
State New
Headers show

Commit Message

Gavin Shan Aug. 28, 2015, 7:15 a.m. UTC
This includes linux/arch/powerpc/include/uapi/asm/eeh.h while
updating linux header files. The specific header file, introduced
by the following Linux upstream commits for EEH on sPAPR platform:

  ed3e81f ("powerpc/eeh: Move PE state constants around")
  ec33d36 ("powerpc/eeh: Introduce eeh_pe_inject_err()")

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
---
 scripts/update-linux-headers.sh | 1 +
 1 file changed, 1 insertion(+)

Comments

David Gibson Sept. 1, 2015, 12:51 a.m. UTC | #1
On Fri, Aug 28, 2015 at 05:15:14PM +1000, Gavin Shan wrote:
> This includes linux/arch/powerpc/include/uapi/asm/eeh.h while
> updating linux header files. The specific header file, introduced
> by the following Linux upstream commits for EEH on sPAPR platform:
> 
>   ed3e81f ("powerpc/eeh: Move PE state constants around")
>   ec33d36 ("powerpc/eeh: Introduce eeh_pe_inject_err()")
> 
> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

> ---
>  scripts/update-linux-headers.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index 2fddf2e..18daabe 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -90,6 +90,7 @@ for arch in $ARCHLIST; do
>          cp "$tmpdir/include/asm/hyperv.h" "$output/linux-headers/asm-x86"
>      fi
>      if [ $arch = powerpc ]; then
> +        cp "$tmpdir/include/asm/eeh.h" "$output/linux-headers/asm-powerpc/"
>          cp "$tmpdir/include/asm/epapr_hcalls.h" "$output/linux-headers/asm-powerpc/"
>      fi
>
diff mbox

Patch

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 2fddf2e..18daabe 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -90,6 +90,7 @@  for arch in $ARCHLIST; do
         cp "$tmpdir/include/asm/hyperv.h" "$output/linux-headers/asm-x86"
     fi
     if [ $arch = powerpc ]; then
+        cp "$tmpdir/include/asm/eeh.h" "$output/linux-headers/asm-powerpc/"
         cp "$tmpdir/include/asm/epapr_hcalls.h" "$output/linux-headers/asm-powerpc/"
     fi