From: Ian Jackson Date: Mon, 16 Mar 2009 16:51:21 +0000 (+0000) Subject: Compile pstrcpy_targphys on CONFIG_DM too X-Git-Tag: xen-3.4.0-rc2~62 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9c286ad9618d93841d114fd9c8e51c53a2fa4412;p=qemu-xen-3.4-testing.git Compile pstrcpy_targphys on CONFIG_DM too This was accidentally turned off during the merge. Signed-off-by: Ian Jackson --- diff --git a/loader.c b/loader.c index de5c6230..519da521 100644 --- a/loader.c +++ b/loader.c @@ -124,8 +124,6 @@ int read_targphys(int fd, target_phys_addr_t dst_addr, size_t nbytes) return dst_addr - dst_begin; } -#ifndef CONFIG_DM - /* return the size or -1 if error */ int load_image_targphys(const char *filename, target_phys_addr_t addr, int max_sz) @@ -160,6 +158,8 @@ void pstrcpy_targphys(target_phys_addr_t dest, int buf_size, } } +#ifndef CONFIG_DM + /* A.OUT loader */ struct exec