Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/include sun4v: ensure that it is possible t...



details:   https://anonhg.NetBSD.org/src/rev/f8b7369cf279
branches:  trunk
changeset: 329718:f8b7369cf279
user:      palle <palle%NetBSD.org@localhost>
date:      Thu Jun 05 18:36:44 2014 +0000

description:
sun4v: ensure that it is possible to include the hypervisor.h file more than once

diffstat:

 sys/arch/sparc64/include/hypervisor.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 378eb11709b5 -r f8b7369cf279 sys/arch/sparc64/include/hypervisor.h
--- a/sys/arch/sparc64/include/hypervisor.h     Thu Jun 05 17:18:19 2014 +0000
+++ b/sys/arch/sparc64/include/hypervisor.h     Thu Jun 05 18:36:44 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hypervisor.h,v 1.2 2013/12/07 16:54:43 palle Exp $ */
+/*     $NetBSD: hypervisor.h,v 1.3 2014/06/05 18:36:44 palle Exp $ */
 /*     $OpenBSD: hypervisor.h,v 1.14 2011/06/26 17:23:46 kettenis Exp $        */
 
 /*
@@ -17,6 +17,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifndef        _HYPERVISOR_H_
+#define        _HYPERVISOR_H_
+
 /*
  * UltraSPARC Hypervisor API.
  */
@@ -319,3 +322,5 @@
 #define H_ENOMAP       14
 #define H_ETOOMANY     15
 #define H_ECHANNEL     16
+
+#endif /* _HYPERVISOR_H_ */



Home | Main Index | Thread Index | Old Index