X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Farch%2Fhppa.h;h=82d2a426b330869054043681ee4d281b1e85d59e;hp=61e8283886db941a9d0f48965ece1f25a0efc3c9;hb=f8c43f458c80566d298d539ec518a8be8c7cc861;hpb=c23069c6cf733ed8a39e64300c264285f658ae23;ds=sidebyside diff --git a/urcu/arch/hppa.h b/urcu/arch/hppa.h index 61e8283..82d2a42 100644 --- a/urcu/arch/hppa.h +++ b/urcu/arch/hppa.h @@ -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 + * + * 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 #include #include @@ -12,6 +32,7 @@ extern "C" { #include #include +#define HAS_CAA_GET_CYCLES typedef unsigned long cycles_t; static inline cycles_t caa_get_cycles(void)