etrax-header.patch 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. diff -Nur linux-3.5.orig//arch/cris/include/arch-v10/arch/Kbuild linux-3.5/arch/cris/include/arch-v10/arch/Kbuild
  2. --- linux-3.5.orig//arch/cris/include/arch-v10/arch/Kbuild 2012-07-21 22:58:29.000000000 +0200
  3. +++ linux-3.5/arch/cris/include/arch-v10/arch/Kbuild 2012-07-27 14:01:25.000000000 +0200
  4. @@ -1,4 +1,10 @@
  5. +header-y += dma.h
  6. +header-y += io_interface_mux.h
  7. header-y += user.h
  8. header-y += svinto.h
  9. header-y += sv_addr_ag.h
  10. header-y += sv_addr.agh
  11. +header-y += elf.h
  12. +header-y += page.h
  13. +header-y += ptrace.h
  14. +header-y += system.h
  15. diff -Nur linux-3.5.orig//arch/cris/include/arch-v32/arch/Kbuild linux-3.5/arch/cris/include/arch-v32/arch/Kbuild
  16. --- linux-3.5.orig//arch/cris/include/arch-v32/arch/Kbuild 2012-07-21 22:58:29.000000000 +0200
  17. +++ linux-3.5/arch/cris/include/arch-v32/arch/Kbuild 2012-07-27 14:01:25.000000000 +0200
  18. @@ -1,2 +1,7 @@
  19. header-y += user.h
  20. header-y += cryptocop.h
  21. +header-y += elf.h
  22. +header-y += page.h
  23. +header-y += ptrace.h
  24. +header-y += system.h
  25. +
  26. diff -Nur linux-3.5.orig//arch/cris/include/asm/Kbuild linux-3.5/arch/cris/include/asm/Kbuild
  27. --- linux-3.5.orig//arch/cris/include/asm/Kbuild 2012-07-21 22:58:29.000000000 +0200
  28. +++ linux-3.5/arch/cris/include/asm/Kbuild 2012-07-27 14:02:20.000000000 +0200
  29. @@ -1,9 +1,12 @@
  30. include include/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 += elf.h
  36. header-y += ethernet.h
  37. header-y += etraxgpio.h
  38. header-y += rs485.h
  39. header-y += sync_serial.h
  40. +header-y += page.h
  41. +header-y += user.h
  42. diff -Nur linux-3.5.orig//arch/cris/include/asm/posix_types.h linux-3.5/arch/cris/include/asm/posix_types.h
  43. --- linux-3.5.orig//arch/cris/include/asm/posix_types.h 2012-07-21 22:58:29.000000000 +0200
  44. +++ linux-3.5/arch/cris/include/asm/posix_types.h 2012-07-27 14:01:25.000000000 +0200
  45. @@ -6,6 +6,7 @@
  46. #ifndef __ARCH_CRIS_POSIX_TYPES_H
  47. #define __ARCH_CRIS_POSIX_TYPES_H
  48. +
  49. /*
  50. * This file is generally used by user-level software, so you need to
  51. * be a little careful about namespace pollution etc. Also, we cannot
  52. @@ -32,4 +33,6 @@
  53. #include <asm-generic/posix_types.h>
  54. +#include <asm-generic/posix_types.h>
  55. +
  56. #endif /* __ARCH_CRIS_POSIX_TYPES_H */
  57. diff -Nur linux-3.5.orig//include/asm-generic/Kbuild linux-3.5/include/asm-generic/Kbuild
  58. --- linux-3.5.orig//include/asm-generic/Kbuild 2012-07-21 22:58:29.000000000 +0200
  59. +++ linux-3.5/include/asm-generic/Kbuild 2012-07-27 14:03:16.000000000 +0200
  60. @@ -3,15 +3,18 @@
  61. header-y += errno-base.h
  62. header-y += errno.h
  63. header-y += fcntl.h
  64. +header-y += getorder.h
  65. header-y += int-l64.h
  66. header-y += int-ll64.h
  67. header-y += ioctl.h
  68. header-y += ioctls.h
  69. header-y += ipcbuf.h
  70. header-y += kvm_para.h
  71. +header-y += memory_model.h
  72. header-y += mman-common.h
  73. header-y += mman.h
  74. header-y += msgbuf.h
  75. +header-y += page.h
  76. header-y += param.h
  77. header-y += poll.h
  78. header-y += posix_types.h
  79. diff -Nur linux-3.5.orig//include/linux/Kbuild linux-3.5/include/linux/Kbuild
  80. --- linux-3.5.orig//include/linux/Kbuild 2012-07-21 22:58:29.000000000 +0200
  81. +++ linux-3.5/include/linux/Kbuild 2012-07-27 14:01:25.000000000 +0200
  82. @@ -382,6 +382,7 @@
  83. header-y += un.h
  84. header-y += unistd.h
  85. header-y += usbdevice_fs.h
  86. +header-y += user.h
  87. header-y += utime.h
  88. header-y += utsname.h
  89. header-y += uuid.h