Linux Audio

Check our new training course

Loading...
v5.4
 1// SPDX-License-Identifier: GPL-2.0
 2#include <linux/kernel.h>
 
 3#include <asm/processor.h>
 4#include "cpu.h"
 5
 6/*
 7 * UMC chips appear to be only either 386 or 486,
 8 * so no special init takes place.
 9 */
10
11static const struct cpu_dev umc_cpu_dev = {
12	.c_vendor	= "UMC",
13	.c_ident	= { "UMC UMC UMC" },
14	.legacy_models	= {
15		{ .family = 4, .model_names =
16		  {
17			  [1] = "U5D",
18			  [2] = "U5S",
19		  }
20		},
21	},
22	.c_x86_vendor	= X86_VENDOR_UMC,
23};
24
25cpu_dev_register(umc_cpu_dev);
26
v3.1
 
 1#include <linux/kernel.h>
 2#include <linux/init.h>
 3#include <asm/processor.h>
 4#include "cpu.h"
 5
 6/*
 7 * UMC chips appear to be only either 386 or 486,
 8 * so no special init takes place.
 9 */
10
11static const struct cpu_dev __cpuinitconst umc_cpu_dev = {
12	.c_vendor	= "UMC",
13	.c_ident	= { "UMC UMC UMC" },
14	.c_models = {
15		{ .vendor = X86_VENDOR_UMC, .family = 4, .model_names =
16		  {
17			  [1] = "U5D",
18			  [2] = "U5S",
19		  }
20		},
21	},
22	.c_x86_vendor	= X86_VENDOR_UMC,
23};
24
25cpu_dev_register(umc_cpu_dev);
26