.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Implementation of get_cpuid(). |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright IBM Corp. 2014, 2018 |
---|
5 | 6 | * Author(s): Alexander Yarygin <yarygin@linux.vnet.ibm.com> |
---|
6 | 7 | * 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. |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #include <sys/types.h> |
---|
.. | .. |
---|
15 | 12 | #include <unistd.h> |
---|
16 | 13 | #include <stdio.h> |
---|
17 | 14 | #include <string.h> |
---|
18 | | -#include <ctype.h> |
---|
| 15 | +#include <linux/ctype.h> |
---|
| 16 | +#include <linux/kernel.h> |
---|
| 17 | +#include <linux/zalloc.h> |
---|
19 | 18 | |
---|
20 | 19 | #include "../../util/header.h" |
---|
21 | | -#include "../../util/util.h" |
---|
22 | 20 | |
---|
23 | 21 | #define SYSINFO_MANU "Manufacturer:" |
---|
24 | 22 | #define SYSINFO_TYPE "Type:" |
---|