diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-16 12:00:08 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-16 12:00:08 +0000 |
commit | 867f0e31599421486e2a0988a040e4fc9a994d5e (patch) | |
tree | 6a2e3ab25d22c042fed175e45882a88bf7d56358 /main/irqbalance/aarch64-fix.patch | |
parent | c50caecb4db6f4e12d6c24ef9837179e8066938f (diff) | |
download | aports-867f0e31599421486e2a0988a040e4fc9a994d5e.tar.bz2 aports-867f0e31599421486e2a0988a040e4fc9a994d5e.tar.xz |
main/irqbalance: build fix aarch64
Diffstat (limited to 'main/irqbalance/aarch64-fix.patch')
-rw-r--r-- | main/irqbalance/aarch64-fix.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/irqbalance/aarch64-fix.patch b/main/irqbalance/aarch64-fix.patch new file mode 100644 index 0000000000..3e2c2092ba --- /dev/null +++ b/main/irqbalance/aarch64-fix.patch @@ -0,0 +1,32 @@ +From 127caa1767312275925eac4f972f761a90fbee2a Mon Sep 17 00:00:00 2001 +From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> +Date: Tue, 15 Dec 2015 09:09:09 +0100 +Subject: [PATCH] Fix AArch64 support + +Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> +--- + procinterrupts.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/procinterrupts.c b/procinterrupts.c +index 63101d6..b70bfc2 100644 +--- a/procinterrupts.c ++++ b/procinterrupts.c +@@ -80,7 +80,7 @@ static int check_platform_device(char *name, struct irq_info *info) + rc = 0; + goto out; + } else if (!strncmp(ent->d_name, "net", strlen("net"))) { +- info->IRQ_TYPE_LEGACY; ++ info->type = IRQ_TYPE_LEGACY; + info->class = IRQ_ETH; + rc = 0; + goto out; +@@ -94,7 +94,7 @@ static int check_platform_device(char *name, struct irq_info *info) + + out: + closedir(dirfd); +- log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, info->type, info->class) ++ log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, info->type, info->class); + return rc; + + } |