OSDN Git Service

Fix fallout from changes to bootparam_utils.h
authorAlistair Delva <adelva@google.com>
Mon, 9 Sep 2019 17:16:12 +0000 (10:16 -0700)
committerAlistair Delva <adelva@google.com>
Mon, 9 Sep 2019 17:19:30 +0000 (17:19 +0000)
commit93380a03f4476095baed16a8fb1689620d0a6476
tree50a820d2b34e38097aa78d63e3ed0c7012183c2f
parent7ee3b90bc7fd6e113c34015dfb11dfbc88a8c40c
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>
arch/x86/boot/compressed/misc.h