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.

21 lines
562 B

  1. From b0f77c10fc4561463b59b12cba0bfd69d7c73934 Mon Sep 17 00:00:00 2001
  2. From: Timo Teräs <timo.teras@iki.fi>
  3. Date: Tue, 10 Jan 2017 09:51:32 +0200
  4. Subject: [PATCH] fix aarch64 compile error due to undefined variable
  5. fixes #36
  6. Signed-off-by: Timo Teräs <timo.teras@iki.fi>
  7. --- a/procinterrupts.c
  8. +++ b/procinterrupts.c
  9. @@ -148,6 +148,9 @@ GList* collect_full_irq_list()
  10. char *line = NULL;
  11. size_t size = 0;
  12. char *irq_name, *irq_mod, *savedptr, *last_token, *p;
  13. +#ifdef AARCH64
  14. + char *tmp;
  15. +#endif
  16. file = fopen("/proc/interrupts", "r");
  17. if (!file)