You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
705 B

  1. From b6df5202306bd71158b482f25ca2e6919645d4dd Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Thu, 4 Jun 2015 20:55:06 -0700
  4. Subject: [PATCH 4/4] Don't include sys/io.h on arm
  5. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  6. ---
  7. Upstream-Status: Pending
  8. src/linux_sysfs.c | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
  11. index 3f95e53..1e3aad3 100644
  12. --- a/src/linux_sysfs.c
  13. +++ b/src/linux_sysfs.c
  14. @@ -50,7 +50,7 @@
  15. #include <dirent.h>
  16. #include <errno.h>
  17. -#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
  18. +#if defined(__i386__) || defined(__x86_64__)
  19. #include <sys/io.h>
  20. #else
  21. #define inb(x) -1
  22. --
  23. 2.1.4