Fix fallout from changes to bootparam_utils.h

In the decompressor code, which is -fstandalone, changes to
bootparam_utils.h mean that memcpy() is called, but there is no
__memcpy() implementation at the time it is included. Ensure that this
header is included *after* string.h.

Fixes:

arch/x86/boot/compressed/misc.o: In function `decompress_kernel':
 misc.c:(.text+0x330e): undefined reference to `__memcpy'

Change-Id: I7fb6d45ad15f1657f630f2e236b12f7e218e0a37
Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
Alistair Delva 2019-09-09 10:16:12 -07:00
parent 7ee3b90bc7
commit 93380a03f4

View file

@ -19,6 +19,7 @@
#include <asm/page.h>
#include <asm/boot.h>
#include <asm/bootparam.h>
#include "../string.h"
#include <asm/bootparam_utils.h>
#define BOOT_BOOT_H