hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/tools/perf/arch/s390/util/header.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Implementation of get_cpuid().
34 *
45 * Copyright IBM Corp. 2014, 2018
56 * Author(s): Alexander Yarygin <yarygin@linux.vnet.ibm.com>
67 * Thomas Richter <tmricht@linux.vnet.ibm.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License (version 2 only)
10
- * as published by the Free Software Foundation.
118 */
129
1310 #include <sys/types.h>
....@@ -15,10 +12,11 @@
1512 #include <unistd.h>
1613 #include <stdio.h>
1714 #include <string.h>
18
-#include <ctype.h>
15
+#include <linux/ctype.h>
16
+#include <linux/kernel.h>
17
+#include <linux/zalloc.h>
1918
2019 #include "../../util/header.h"
21
-#include "../../util/util.h"
2220
2321 #define SYSINFO_MANU "Manufacturer:"
2422 #define SYSINFO_TYPE "Type:"