From 9999e48639b3cecb08ffb37358bcba3b48161b29 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 08:50:17 +0000 Subject: [PATCH] add ax88772_rst --- kernel/arch/riscv/include/asm/bitops.h | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/kernel/arch/riscv/include/asm/bitops.h b/kernel/arch/riscv/include/asm/bitops.h index f30daf2..396a330 100644 --- a/kernel/arch/riscv/include/asm/bitops.h +++ b/kernel/arch/riscv/include/asm/bitops.h @@ -1,14 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Regents of the University of California - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, version 2. - * - * This program 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 General Public License for more details. */ #ifndef _ASM_RISCV_BITOPS_H @@ -22,11 +14,6 @@ #include <linux/irqflags.h> #include <asm/barrier.h> #include <asm/bitsperlong.h> - -#ifndef smp_mb__before_clear_bit -#define smp_mb__before_clear_bit() smp_mb() -#define smp_mb__after_clear_bit() smp_mb() -#endif /* smp_mb__before_clear_bit */ #include <asm-generic/bitops/__ffs.h> #include <asm-generic/bitops/ffz.h> -- Gitblit v1.6.2