etrax-header.patch 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. diff -Nur linux-3.4.4.orig/arch/cris/include/arch-v10/arch/Kbuild linux-3.4.4/arch/cris/include/arch-v10/arch/Kbuild
  2. --- linux-3.4.4.orig/arch/cris/include/arch-v10/arch/Kbuild 2012-06-22 20:37:50.000000000 +0200
  3. +++ linux-3.4.4/arch/cris/include/arch-v10/arch/Kbuild 2012-07-18 07:38:39.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.4.4.orig/arch/cris/include/arch-v32/arch/Kbuild linux-3.4.4/arch/cris/include/arch-v32/arch/Kbuild
  16. --- linux-3.4.4.orig/arch/cris/include/arch-v32/arch/Kbuild 2012-06-22 20:37:50.000000000 +0200
  17. +++ linux-3.4.4/arch/cris/include/arch-v32/arch/Kbuild 2012-07-18 07:38:26.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.4.4.orig/arch/cris/include/asm/Kbuild linux-3.4.4/arch/cris/include/asm/Kbuild
  27. --- linux-3.4.4.orig/arch/cris/include/asm/Kbuild 2012-06-22 20:37:50.000000000 +0200
  28. +++ linux-3.4.4/arch/cris/include/asm/Kbuild 2012-07-18 07:38:03.000000000 +0200
  29. @@ -1,10 +1,13 @@
  30. include include/asm-generic/Kbuild.asm
  31. -header-y += arch-v10/
  32. -header-y += arch-v32/
  33. -
  34. +header-y += ../arch-v10/arch/
  35. +header-y += ../arch-v32/arch/
  36. +
  37. +header-y += elf.h
  38. header-y += ethernet.h
  39. header-y += etraxgpio.h
  40. header-y += rs485.h
  41. header-y += rtc.h
  42. header-y += sync_serial.h
  43. +header-y += page.h
  44. +header-y += user.h
  45. diff -Nur linux-3.4.4.orig/arch/cris/include/asm/posix_types.h linux-3.4.4/arch/cris/include/asm/posix_types.h
  46. --- linux-3.4.4.orig/arch/cris/include/asm/posix_types.h 2012-06-22 20:37:50.000000000 +0200
  47. +++ linux-3.4.4/arch/cris/include/asm/posix_types.h 2012-07-18 17:10:45.000000000 +0200
  48. @@ -6,6 +6,7 @@
  49. #ifndef __ARCH_CRIS_POSIX_TYPES_H
  50. #define __ARCH_CRIS_POSIX_TYPES_H
  51. +
  52. /*
  53. * This file is generally used by user-level software, so you need to
  54. * be a little careful about namespace pollution etc. Also, we cannot
  55. @@ -33,4 +34,6 @@
  56. typedef unsigned short __kernel_old_dev_t;
  57. #define __kernel_old_dev_t __kernel_old_dev_t
  58. +#include <asm-generic/posix_types.h>
  59. +
  60. #endif /* __ARCH_CRIS_POSIX_TYPES_H */
  61. diff -Nur linux-3.4.4.orig/include/asm-generic/Kbuild linux-3.4.4/include/asm-generic/Kbuild
  62. --- linux-3.4.4.orig/include/asm-generic/Kbuild 2012-06-22 20:37:50.000000000 +0200
  63. +++ linux-3.4.4/include/asm-generic/Kbuild 2012-07-18 07:38:03.000000000 +0200
  64. @@ -3,14 +3,17 @@
  65. header-y += errno-base.h
  66. header-y += errno.h
  67. header-y += fcntl.h
  68. +header-y += getorder.h
  69. header-y += int-l64.h
  70. header-y += int-ll64.h
  71. header-y += ioctl.h
  72. header-y += ioctls.h
  73. header-y += ipcbuf.h
  74. +header-y += memory_model.h
  75. header-y += mman-common.h
  76. header-y += mman.h
  77. header-y += msgbuf.h
  78. +header-y += page.h
  79. header-y += param.h
  80. header-y += poll.h
  81. header-y += posix_types.h
  82. diff -Nur linux-3.4.4.orig/include/linux/Kbuild linux-3.4.4/include/linux/Kbuild
  83. --- linux-3.4.4.orig/include/linux/Kbuild 2012-06-22 20:37:50.000000000 +0200
  84. +++ linux-3.4.4/include/linux/Kbuild 2012-07-18 07:38:03.000000000 +0200
  85. @@ -380,6 +380,7 @@
  86. header-y += un.h
  87. header-y += unistd.h
  88. header-y += usbdevice_fs.h
  89. +header-y += user.h
  90. header-y += utime.h
  91. header-y += utsname.h
  92. header-y += uvcvideo.h