Cleanup: move generic caa_get_cycles to arch/generic.h
[urcu.git] / urcu / arch / hppa.h
index 61e8283886db941a9d0f48965ece1f25a0efc3c9..82d2a426b330869054043681ee4d281b1e85d59e 100644 (file)
@@ -1,6 +1,26 @@
 #ifndef _URCU_ARCH_HPPA_H
 #define _URCU_ARCH_HPPA_H
 
+/*
+ * arch/hppa.h: definitions for hppa architecture
+ *
+ * Copyright (c) 2014 Helge Deller <deller@gmx.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
 #include <urcu/compiler.h>
 #include <urcu/config.h>
 #include <urcu/syscall-compat.h>
@@ -12,6 +32,7 @@ extern "C" {
 #include <stdlib.h>
 #include <sys/time.h>
 
+#define HAS_CAA_GET_CYCLES
 typedef unsigned long cycles_t;
 
 static inline cycles_t caa_get_cycles(void)
This page took 0.028619 seconds and 4 git commands to generate.