[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/67] ppc: use local path for local headers
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH 12/67] ppc: use local path for local headers |
Date: |
Fri, 4 May 2018 09:34:48 +1000 |
User-agent: |
Mutt/1.9.3 (2018-01-21) |
On Thu, May 03, 2018 at 10:50:35PM +0300, Michael S. Tsirkin wrote:
> When pulling in headers that are in the same directory as C file (as
> opposed to one in include/), we should use its relative path, without a
> directory. Directory based path works more or less by accident.
>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
Acked-by: David Gibson <address@hidden>
> ---
> hw/ppc/ppc440_uc.c | 2 +-
> hw/ppc/sam460ex.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/hw/ppc/ppc440_uc.c b/hw/ppc/ppc440_uc.c
> index e312fdb..123f4ac 100644
> --- a/hw/ppc/ppc440_uc.c
> +++ b/hw/ppc/ppc440_uc.c
> @@ -20,7 +20,7 @@
> #include "hw/ppc/ppc.h"
> #include "hw/pci/pci.h"
> #include "sysemu/block-backend.h"
> -#include "hw/ppc/ppc440.h"
> +#include "ppc440.h"
>
>
> /*****************************************************************************/
> /* L2 Cache as SRAM */
> diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c
> index dfff262..4a66e1d 100644
> --- a/hw/ppc/sam460ex.c
> +++ b/hw/ppc/sam460ex.c
> @@ -27,8 +27,8 @@
> #include "elf.h"
> #include "exec/address-spaces.h"
> #include "exec/memory.h"
> -#include "hw/ppc/ppc440.h"
> -#include "hw/ppc/ppc405.h"
> +#include "ppc440.h"
> +#include "ppc405.h"
> #include "hw/block/flash.h"
> #include "sysemu/sysemu.h"
> #include "sysemu/qtest.h"
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH 07/67] display: use local path for local headers, (continued)
- [Qemu-devel] [PATCH 07/67] display: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 09/67] ioapic: fix up includes, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 01/67] block: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 10/67] e1000e: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 08/67] ide: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 11/67] rocker: drop an unused include, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 12/67] ppc: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- Re: [Qemu-devel] [PATCH 12/67] ppc: use local path for local headers,
David Gibson <=
- [Qemu-devel] [PATCH 13/67] vhost-scsi: drop an unused include, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 14/67] sd: fix up include, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 15/67] usb: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 17/67] colo: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 19/67] xtensa: relative include for parent directory, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 18/67] qga: use local path for local headers, Michael S. Tsirkin, 2018/05/03