600-2.6.27_includes.patch 688 B

12345678910111213141516171819202122
  1. --- a/Embedded/src/CAN/can_main.h
  2. +++ b/Embedded/src/CAN/can_main.h
  3. @@ -65,7 +65,7 @@
  4. #include <linux/interrupt.h>
  5. #include <linux/pci.h>
  6. -#include <asm/semaphore.h>
  7. +#include <linux/semaphore.h>
  8. #include <linux/spinlock.h>
  9. #include <linux/cdev.h>
  10. #include <asm/uaccess.h>
  11. --- a/Embedded/src/EDMA/dma_linux.c
  12. +++ b/Embedded/src/EDMA/dma_linux.c
  13. @@ -87,7 +87,7 @@
  14. #include <linux/fcntl.h> /* O_ACCMODE */
  15. #include <asm/system.h> /* cli, *_flags */
  16. #include <asm/uaccess.h> /* copy_to_user */
  17. -#include <asm/semaphore.h>
  18. +#include <linux/semaphore.h>
  19. #include <asm/io.h> /* inb(), outb() */
  20. #include <linux/kmod.h>
  21. #include <linux/ioport.h> /* request_region */