OpenMPI  0.1.1
public.h
1 /*
2  * Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
3  * $COPYRIGHT$
4  *
5  * Additional copyrights may follow
6  *
7  * $HEADER$
8  */
9 
10 #ifndef OPAL_MEMORY_LINUX_PUBLIC_H
11 #define OPAL_MEMORY_LINUX_PUBLIC_H
12 
13 #include "opal_config.h"
14 
15 #include <sys/types.h>
16 
17 OPAL_DECLSPEC extern volatile uint64_t *opal_memory_linux_ummunotify_counter;
18 OPAL_DECLSPEC extern uint64_t opal_memory_linux_ummunotify_counter_last_value;
19 
20 #define opal_memory_changed() \
21  (opal_memory_linux_ummunotify_counter_last_value != \
22  *opal_memory_linux_ummunotify_counter)
23 
24 #endif