forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/parisc/kernel/perf_images.h
....@@ -1,22 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Imagine for use with the Onyx (PCX-U) CPU interface
34 *
45 * Copyright (C) 2001 Randolph Chung <tausq at parisc-linux.org>
56 * Copyright (C) 2001 Hewlett-Packard (Grant Grundler)
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 as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218 #ifndef PERF_IMAGES_H
229 #define PERF_IMAGES_H
....@@ -25,7 +12,7 @@
2512
2613 #define PCXU_IMAGE_SIZE 584
2714
28
-static uint32_t onyx_images[][PCXU_IMAGE_SIZE/sizeof(uint32_t)] __read_mostly = {
15
+static uint32_t onyx_images[][PCXU_IMAGE_SIZE/sizeof(uint32_t)] __ro_after_init = {
2916 /*
3017 * CPI:
3118 *
....@@ -2093,7 +2080,7 @@
20932080 };
20942081 #define PCXW_IMAGE_SIZE 576
20952082
2096
-static uint32_t cuda_images[][PCXW_IMAGE_SIZE/sizeof(uint32_t)] __read_mostly = {
2083
+static uint32_t cuda_images[][PCXW_IMAGE_SIZE/sizeof(uint32_t)] __ro_after_init = {
20972084 /*
20982085 * CPI: FROM CPI.IDF (Image 0)
20992086 *