From patchwork Fri Jan 26 14:33:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 766376 Delivered-To: patch@linaro.org Received: by 2002:adf:a314:0:b0:337:62d3:c6d5 with SMTP id c20csp268492wrb; Fri, 26 Jan 2024 06:39:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkBzU8WeyKS6CGaNuGM9X3Zt/CcRLnorbK0C1GChpKHDR/caxm1s3wpPZtoO2h4u3pFtI0 X-Received: by 2002:a05:622a:4c7:b0:42a:4de9:4a94 with SMTP id q7-20020a05622a04c700b0042a4de94a94mr1543708qtx.52.1706279949627; Fri, 26 Jan 2024 06:39:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706279949; cv=none; d=google.com; s=arc-20160816; b=x7U9JyEGePKyCtSOePBFaLxyLlYAOFP9u01qMQlUJG7Ff3yrij/3kPVe47uSyYmp49 R6oW3r4hGso87dFcmortF9xghSKbccrTcKp5bv62KuuMMNabddPHGG+ejq4kVwBz+2Ar Y6MFzji+CeE2tH6QuNxJgWVCxP5zlwL8hsaCxyz3w9B3gC+vquANq2PmdFJhmSYoQfoX MQVgyaJYKPo945yY0NY0a4NZcicApGfvVul9pqOz6TFCgHfJSx8Wr7Bk5l6Tyoa4t92Q jHa0PKWlT6wqQHaoI2Jl3n8mwfEndZhPuSLZ7rUiSX+H2dVQprO4egOgOyH/bs/4ZP1c 8ZTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=r1v3SV+PmV/A+0Uc2aWf5zTz7bzHoDfhI5pt+5wcTmM=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=khmOWyRVbhN+pzZPXDJoG9844Vst709hpMkvFC/IK/rpTk2hwqZTUqZvux6XDYHz5/ J4m8etNxx67M+JS0Vk5o7fjujkmKaRZOfpninjY8Is94vEroWsofdwx2mjPX1vVbNzGx kaMVEi648baZ+vYZlJ7RYxFIbzzsZvfkxHiUvezbxgEgVhXskHsffEqcw7gZ5C1EBpU8 R2BRPtcxoyIwBeElsaRACDXUCI412W74v2ZIlSRu3TO5+m+Vw2qj1Q1IJ6zZKgbmMxdn Hh9S7hMj3cWSJrfM5QXZWh7d8B/UgIVty4pxOs2bnv3YN8GnSlcFT2O+J90cZvwXXvbq k/Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WBsp2ne/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w21-20020ac857d5000000b00429785b48cesi1363955qta.23.2024.01.26.06.39.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2024 06:39:09 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WBsp2ne/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTNHE-0002GS-FD; Fri, 26 Jan 2024 09:33:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTNHC-0002Ej-57 for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:50 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTNHA-0007sS-DP for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:49 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-33921b95dddso1153370f8f.1 for ; Fri, 26 Jan 2024 06:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706279627; x=1706884427; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=r1v3SV+PmV/A+0Uc2aWf5zTz7bzHoDfhI5pt+5wcTmM=; b=WBsp2ne/XAZmbJe2EkVtcfUmVsj12Y4MIXCxvq4hhGxdIcSGaaWCdRSWQ8rRNHA12h GI3HkvNegIqmbCAdmzeEx09y7VUaTwVU0YYC8kenKjWoFLgv0XPMg1j6RwnQhE56cOj1 uE4VyHBbyqsoJ+KGxZCiE8UzwIBIAqK3u97n3lQupokx4QirXOdQTFEBWDDco7EdeuNZ /zwIcoVo0jBnkKTXj8tKP//MwYNwaBM6EMJZZIuOhF9J5BLLk9G30/cPkTpxICFDe5I6 uxdcyaHM5H5ek0z+AJ0usGwHrB2wOZZ6550hMLbrJcxz3gokXoDfKAscoPByJDLWFZ/0 cpaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706279627; x=1706884427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r1v3SV+PmV/A+0Uc2aWf5zTz7bzHoDfhI5pt+5wcTmM=; b=tLiAS5etpJhzFMEUgiNqxYHoavrBFTtGD2uNLxCQVyI2dSyPslO2bF3boFYzZv9ogB edmcGOUZZpoU12MWwLwa6D8qiql6zEtjFh4S91NgSUN/jZHzoYg65agjlL7FX9poJg4W ZUUwQGMCkZY8RuhiQo87+f7GBmIf9rArv+4m2Fty8bOBYrsNnFYr7B5N/nPXxab0wJOq Q7PCq8sYpqh6VR9tmYXZwUWqsoJ24gQigsdH/zGgxCmLWcuD2257J6DOobF62xN6Sdya Jje/V0MpD1P6EV3tdFNihKXEuu1A+9aV9HIItYxFOkkwGpK2L4kB07cd9+YEhVhxXaK5 BVtw== X-Gm-Message-State: AOJu0YwtiehlJVnKPPJvzqzNYCdYhO/RPz+o3EHO07eXcByQFGPG5ep6 LAZGqhw9B7XzDexK7YzkwHP+Ch3yZLSeUx/cGRWDkl7/WET+yj58abNt3fSWMLKSIgKvhXFUT1Q t X-Received: by 2002:a05:600c:510e:b0:40e:8613:84f with SMTP id o14-20020a05600c510e00b0040e8613084fmr574058wms.6.1706279626835; Fri, 26 Jan 2024 06:33:46 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n5-20020a5d4845000000b00337f722e5ccsm1396207wrs.65.2024.01.26.06.33.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 06:33:46 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 10/36] hw/arm/exynos4210: Include missing 'exec/tswap.h' header Date: Fri, 26 Jan 2024 14:33:15 +0000 Message-Id: <20240126143341.2101237-11-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240126143341.2101237-1-peter.maydell@linaro.org> References: <20240126143341.2101237-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé hw/arm/exynos4210.c calls tswap32() which is declared in "exec/tswap.h". Include it in order to avoid when refactoring unrelated headers: hw/arm/exynos4210.c:499:22: error: call to undeclared function 'tswap32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] smpboot[n] = tswap32(smpboot[n]); ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20240118200643.29037-2-philmd@linaro.org Signed-off-by: Peter Maydell --- hw/arm/exynos4210.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/exynos4210.c b/hw/arm/exynos4210.c index de39fb0ece8..af511a153dd 100644 --- a/hw/arm/exynos4210.c +++ b/hw/arm/exynos4210.c @@ -23,6 +23,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "exec/tswap.h" #include "cpu.h" #include "hw/cpu/a9mpcore.h" #include "hw/irq.h"