update copyright date to 2013
[dpdk.git] / lib / librte_eal / linuxapp / eal / include / eal_hugepages.h
index 2c7d646..9977265 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without 
@@ -30,7 +30,6 @@
  *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  * 
- *  version: DPDK.L.1.2.3-3
  */
 
 #ifndef RTE_LINUXAPP_HUGEPAGES_H_
@@ -50,7 +49,8 @@ struct hugepage {
        int socket_id;      /**< NUMA socket ID */
        int file_id;        /**< the '%d' in HUGEFILE_FMT */
        int memseg_id;      /**< the memory segment to which page belongs */
-       char filepath[MAX_HUGEPAGE_PATH]; /**< Path to backing file on filesystem */
+       char filepath[MAX_HUGEPAGE_PATH]; /**< path to backing file on filesystem */
+       int page_lock;      /**< descriptor for hugepage file */
 };
 
 /**