Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp232058ybg; Tue, 28 Jul 2020 04:43:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwahuLjdTW9VGpHKX9esGvx0LydbeIsGWKlubNPP2vxUqiQQ4n6Ub6PojcBdvjaVtPLDwPx X-Received: by 2002:a50:e047:: with SMTP id g7mr25053666edl.290.1595936626135; Tue, 28 Jul 2020 04:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595936626; cv=none; d=google.com; s=arc-20160816; b=Kypl6avPN5z9Dz1t4Polg6WgVS5cq5jTuyqe2bmw/xGJbH9GJPioWrkj9ZwloCANEa YR2ENSr6dwvXggrydDpiuCujwm1MsKsKCnPBLZtPL3V9D+fccjcxSKzMc4hSDYDe06bP cutUOmsTUs5DtPD1Dj/T12vR5Km3Cpm8nx7WLI16k51hJbuX6dUWSBHEHIfiONYRfErm PsFOnSUhlsBX+jLVXh5Kepq0GVJ8Oh3nWXIsxrPY3cBWI2urv8rWo7rGeuW3hmOfuvqf 10PejLUo6vJOo38ShdupiQUfFiju2knpsB8c220Pe6Hwogmu0rDATifflyNTTQ43Q8vF MMsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=32yi5hG+JjKKJbcYvsLYW/vImZnr7jzCtBtO8Ocis2c=; b=eSfT/MX8QpmY+J9VFSjfUX4NaQJF6QSx3y1ehOiqKIqgchXz9TEI3jjc2Ag/qc5ocu Hxa8qouctBnEKLoe3O4gF4ueSv+OhW5okknC4AfD0OjP8HYZu1HnXv7XOfh20onOBLNj VQ3wBNBaHh887Ha4Mh2hGRlpJJfDEoLjcB2V/c4/9CT4bJRMrtxH7OIs1YRnZvGlk09l DqbP92TRy2ScedHuJe0b8QH6faD6M4lw4iFT82IYNCICXYYHIi7ogPuT55+2tF8xQOTn pjlE4In3xSz9iBoxzN+gN3So7nvyGsPDaytYBKxRQoa645/j8sss3KZnDAsv4+8JvUSw QwOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@citrix.com header.s=securemail header.b=bUXmoniN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=citrix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj11si7414160edb.279.2020.07.28.04.43.23; Tue, 28 Jul 2020 04:43:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@citrix.com header.s=securemail header.b=bUXmoniN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=citrix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729169AbgG1Lmq (ORCPT + 99 others); Tue, 28 Jul 2020 07:42:46 -0400 Received: from esa6.hc3370-68.iphmx.com ([216.71.155.175]:20038 "EHLO esa6.hc3370-68.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729159AbgG1Lmq (ORCPT ); Tue, 28 Jul 2020 07:42:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1595936565; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iwLhOsjZtYhl+WFa5BUY/82Z8FbB6FQLSph99aT8EGw=; b=bUXmoniNbcgNLgTZrtsAy8hkZPifzvSJ2ngAdDu8ViXXL+I3ppmCjQnQ ZlNs4DYzOfoPX9hkaEqQ1eAQ/89fQHeAND2lER3/qQQ9fRRkJriKcHvJM YKRWOgmlM+APPf5kAeWvR41GtQP4SJYHDIumsGLdJijWco3FlDscVjqJR A=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: eST4pcblEO9C4zMoJzXs8FUL90X3L5/U0rACoVj/dtaz69BM1mQPX91USa/YLWbf/s5kkvs3z3 QoxfVkTFF9gEtfVjJ2yybcqAH46FK8ACLdf97hJ6Hifthnze4ZxYG9Nc41FuSq47pXZeBrwobb TZ9GbHrh1h//0/sZC1rIdcSLxLAhbUvoZpFO4DAN7DuYKGEmcrKTu+MzROy8YleM2D0DxUYTLp s4j/3TQR8RoAyxfz2785glGSM5s8yBtxv6NnlJwLCUT3EhorCmMCbHdUMduNkBYU4PVBX7wQYr O9w= X-SBRS: 2.7 X-MesageID: 23666671 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.75,406,1589256000"; d="scan'208";a="23666671" From: Roger Pau Monne To: CC: Roger Pau Monne , Boris Ostrovsky , Juergen Gross , "Stefano Stabellini" , Subject: [PATCH] xen/balloon: add header guard Date: Tue, 28 Jul 2020 13:42:35 +0200 Message-ID: <20200728114235.58619-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727091342.52325-5-roger.pau@citrix.com> References: <20200727091342.52325-5-roger.pau@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to protect against the header being included multiple times on the same compilation unit. Signed-off-by: Roger Pau Monné --- Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: xen-devel@lists.xenproject.org --- This is required as a pre-patch to use ZONE_DEVICE, or else the fallback of including the balloon header might not work properly. --- include/xen/balloon.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/xen/balloon.h b/include/xen/balloon.h index 6fb95aa19405..6dbdb0b3fd03 100644 --- a/include/xen/balloon.h +++ b/include/xen/balloon.h @@ -2,6 +2,8 @@ /****************************************************************************** * Xen balloon functionality */ +#ifndef _XEN_BALLOON_H +#define _XEN_BALLOON_H #define RETRY_UNLIMITED 0 @@ -34,3 +36,5 @@ static inline void xen_balloon_init(void) { } #endif + +#endif /* _XEN_BALLOON_H */ -- 2.27.0