X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcompat_arch.c;h=461c7098adc97c74be65d6cc7cdc23915b861e2b;hb=HEAD;hp=e1651d3db9a2110ae18702c85dc4b7f1cb574838;hpb=014775106c60f02818ca755b331f887030bd440f;p=urcu.git diff --git a/src/compat_arch.c b/src/compat_arch.c index e1651d3..474a832 100644 --- a/src/compat_arch.c +++ b/src/compat_arch.c @@ -1,28 +1,14 @@ +// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers +// +// SPDX-License-Identifier: LGPL-2.1-or-later + /* - * compat_arch.c - * * Userspace RCU library - architecture compatibility checks - * - * Copyright (c) 2009 Mathieu Desnoyers - * - * 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 -#if defined(URCU_ARCH_I386) +#ifdef URCU_ARCH_X86_NO_CAS #include #include