hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/hexagon/include/asm/atomic.h
....@@ -1,22 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Atomic operations for the Hexagon architecture
34 *
45 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
5
- *
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 and
9
- * only version 2 as published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
- * 02110-1301, USA.
206 */
217
228 #ifndef _ASM_ATOMIC_H
....@@ -25,8 +11,6 @@
2511 #include <linux/types.h>
2612 #include <asm/cmpxchg.h>
2713 #include <asm/barrier.h>
28
-
29
-#define ATOMIC_INIT(i) { (i) }
3014
3115 /* Normal writes in our arch don't clear lock reservations */
3216