1
0

cris-header.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. diff -Nur linux-3.16.2.orig/arch/cris/include/arch-v10/arch/Kbuild linux-3.16.2/arch/cris/include/arch-v10/arch/Kbuild
  2. --- linux-3.16.2.orig/arch/cris/include/arch-v10/arch/Kbuild 2014-09-06 01:37:11.000000000 +0200
  3. +++ linux-3.16.2/arch/cris/include/arch-v10/arch/Kbuild 2014-09-26 19:24:50.000000000 +0200
  4. @@ -1 +1,2 @@
  5. # CRISv10 arch
  6. +header-y += ptrace.h
  7. diff -Nur linux-3.16.2.orig/arch/cris/include/arch-v32/arch/Kbuild linux-3.16.2/arch/cris/include/arch-v32/arch/Kbuild
  8. --- linux-3.16.2.orig/arch/cris/include/arch-v32/arch/Kbuild 2014-09-06 01:37:11.000000000 +0200
  9. +++ linux-3.16.2/arch/cris/include/arch-v32/arch/Kbuild 2014-09-26 19:24:31.000000000 +0200
  10. @@ -1 +1,2 @@
  11. # CRISv32 arch
  12. +header-y += ptrace.h
  13. diff -Nur linux-3.16.2.orig/arch/cris/include/asm/Kbuild linux-3.16.2/arch/cris/include/asm/Kbuild
  14. --- linux-3.16.2.orig/arch/cris/include/asm/Kbuild 2014-09-06 01:37:11.000000000 +0200
  15. +++ linux-3.16.2/arch/cris/include/asm/Kbuild 2014-09-26 19:24:31.000000000 +0200
  16. @@ -1,8 +1,3 @@
  17. -
  18. -header-y += arch-v10/
  19. -header-y += arch-v32/
  20. -
  21. -
  22. generic-y += barrier.h
  23. generic-y += clkdev.h
  24. generic-y += cputime.h
  25. diff -Nur linux-3.16.2.orig/arch/cris/include/uapi/asm/Kbuild linux-3.16.2/arch/cris/include/uapi/asm/Kbuild
  26. --- linux-3.16.2.orig/arch/cris/include/uapi/asm/Kbuild 2014-09-06 01:37:11.000000000 +0200
  27. +++ linux-3.16.2/arch/cris/include/uapi/asm/Kbuild 2014-09-26 19:24:31.000000000 +0200
  28. @@ -1,8 +1,8 @@
  29. # UAPI Header export list
  30. include include/uapi/asm-generic/Kbuild.asm
  31. -header-y += arch-v10/
  32. -header-y += arch-v32/
  33. +header-y += ../arch-v10/arch/
  34. +header-y += ../arch-v32/arch/
  35. header-y += auxvec.h
  36. header-y += bitsperlong.h
  37. header-y += byteorder.h
  38. diff -Nur linux-3.16.2.orig/scripts/headers.sh linux-3.16.2/scripts/headers.sh
  39. --- linux-3.16.2.orig/scripts/headers.sh 2014-09-06 01:37:11.000000000 +0200
  40. +++ linux-3.16.2/scripts/headers.sh 2014-09-26 19:24:31.000000000 +0200
  41. @@ -19,8 +19,6 @@
  42. case ${arch} in
  43. um) # no userspace export
  44. ;;
  45. - cris) # headers export are known broken
  46. - ;;
  47. *)
  48. if [ -d ${srctree}/arch/${arch} ]; then
  49. do_command $1 ${arch}