summaryrefslogtreecommitdiff
path: root/include/xen/balloon.h
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2020-09-01 11:33:24 +0300
committerJuergen Gross <jgross@suse.com>2020-09-04 10:59:53 +0300
commitaecb2016c90a1b620e21c9e143afbdc9666cce52 (patch)
treea2c1347de2a1b5cac57bde710909b5500089790c /include/xen/balloon.h
parent9d3004bf7ba32c89873bb8422671d52b4bb52ce1 (diff)
downloadlinux-aecb2016c90a1b620e21c9e143afbdc9666cce52.tar.xz
xen/balloon: add header guard
In order to protect against the header being included multiple times on the same compilation unit. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://lore.kernel.org/r/20200901083326.21264-2-roger.pau@citrix.com Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen/balloon.h')
-rw-r--r--include/xen/balloon.h4
1 files changed, 4 insertions, 0 deletions
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 */