Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | From 8ee92bc915d650e188caaa3df0a798ac2002f64e Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: OpenEmbedded <oe.patch@oe> |
| 3 | Date: Wed, 11 Apr 2018 22:51:00 +0200 |
| 4 | Subject: [PATCH] use our elf.h header |
| 5 | |
| 6 | Fix |
| 7 | |
| 8 | kexec/arch/arm/crashdump-arm.c:70:13: error: 'EM_ARM' undeclared here |
| 9 | (not in a function); did you mean 'EM_860'? |
| 10 | .machine = EM_ARM, |
| 11 | |
| 12 | Upstream-Status: Inappropriate [klibc specific] |
| 13 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> |
| 14 | |
| 15 | --- |
| 16 | kexec/arch/arm/crashdump-arm.c | 2 +- |
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/kexec/arch/arm/crashdump-arm.c b/kexec/arch/arm/crashdump-arm.c |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 20 | index 3f72b38..af2600d 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | --- a/kexec/arch/arm/crashdump-arm.c |
| 22 | +++ b/kexec/arch/arm/crashdump-arm.c |
| 23 | @@ -21,7 +21,7 @@ |
| 24 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 25 | */ |
| 26 | #include <limits.h> |
| 27 | -#include <elf.h> |
| 28 | +#include "../../../include/elf.h" |
| 29 | #include <errno.h> |
| 30 | #include <stdio.h> |
| 31 | #include <stdlib.h> |