]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
xen: Drop is_running_on_xen
authorJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 17:54:02 +0000 (18:54 +0100)
committerJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 18:23:51 +0000 (19:23 +0100)
The macro is not used at all within FreeBSD

sys/xen/hypervisor.h

index b686c4aa0c35e777f8772ca1b9490a49184e26a1..42039a94d7748669ae545a2493e9465054299dde 100644 (file)
 #ifndef __XEN_HYPERVISOR_H__
 #define __XEN_HYPERVISOR_H__
 
-#ifdef XENHVM
-
-#define is_running_on_xen()    (HYPERVISOR_shared_info != NULL)
-
-#else
-
-#define is_running_on_xen() 1
-
-#endif
-
 #ifdef PAE
 #ifndef CONFIG_X86_PAE
 #define CONFIG_X86_PAE