From: Roger Pau Monne Date: Tue, 1 Sep 2020 08:33:24 +0000 (+0200) Subject: xen/balloon: add header guard X-Git-Tag: v5.9-rc4~4^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=aecb2016c90a1b620e21c9e143afbdc9666cce52;p=users%2Fdwmw2%2Flinux.git 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é Reviewed-by: Boris Ostrovsky Link: https://lore.kernel.org/r/20200901083326.21264-2-roger.pau@citrix.com Signed-off-by: Juergen Gross --- diff --git a/include/xen/balloon.h b/include/xen/balloon.h index 6fb95aa194051..6dbdb0b3fd03d 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 */