]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Fri, 2 Nov 2018 22:28:20 +0000 (15:28 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 2 Nov 2018 22:28:20 +0000 (15:28 -0700)
open-vm-tools/lib/include/includeCheck.h

index 8cf7b4b77304a608bba97990cf877f74ba3edbb9..a5a0955692c85669792f288ea3b1747bf7c0e4c1 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 1998-2016 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2016, 2018 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
 /*
  * includeCheck.h --
  *
- *     Restrict include file use.
+ *      Restrict include file use.
  *
  * In every .h file, define one or more of these
  *
- *     INCLUDE_ALLOW_VMX 
- *     INCLUDE_ALLOW_USERLEVEL 
- *     INCLUDE_ALLOW_VMCORE
- *     INCLUDE_ALLOW_MODULE
- *     INCLUDE_ALLOW_VMKERNEL 
- *     INCLUDE_ALLOW_DISTRIBUTE
- *     INCLUDE_ALLOW_VMK_MODULE
+ *      INCLUDE_ALLOW_VMX
+ *      INCLUDE_ALLOW_USERLEVEL
+ *      INCLUDE_ALLOW_VMCORE
+ *      INCLUDE_ALLOW_MODULE
+ *      INCLUDE_ALLOW_VMKERNEL
+ *      INCLUDE_ALLOW_DISTRIBUTE
+ *      INCLUDE_ALLOW_VMK_MODULE
  *      INCLUDE_ALLOW_VMKDRIVERS
  *      INCLUDE_ALLOW_MKS
  *
  */
 
 
-/*
- * Declare a VMCORE-only variable to help classify object
- * files.  The variable goes in the common block and does
- * not create multiple definition link-time conflicts.
- */
-
-#if defined VMCORE && defined VMX86_DEVEL && defined VMX86_DEBUG && \
-    defined linux && !defined MODULE && \
-    !defined COMPILED_WITH_VMCORE
-#define COMPILED_WITH_VMCORE compiled_with_vmcore
-#ifdef ASM
-        .comm   compiled_with_vmcore, 0
-#else
-        asm(".comm compiled_with_vmcore, 0");
-#endif /* ASM */
-#endif
-
-
 #if defined VMCORE && \
     !(defined VMX86_VMX || defined VMM || \
       defined MONITOR_APP || defined VMMON)