mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 14:46:47 +07:00
50af5ead3b
With bug.h currently living right in linux/kernel.h there are files that use BUG_ON and friends but are not including the header explicitly. Fix them up so we can remove the presence in kernel.h file. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
31 lines
675 B
C
31 lines
675 B
C
/*
|
|
* Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
*/
|
|
|
|
/*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
* Version 2 or later at the following locations:
|
|
*
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*/
|
|
|
|
#include <linux/bug.h>
|
|
#include <linux/types.h>
|
|
#include <mach/hardware.h>
|
|
#include <linux/kernel.h>
|
|
|
|
static struct cpu_op mx51_cpu_op[] = {
|
|
{
|
|
.cpu_rate = 160000000,},
|
|
{
|
|
.cpu_rate = 800000000,},
|
|
};
|
|
|
|
struct cpu_op *mx51_get_cpu_op(int *op)
|
|
{
|
|
*op = ARRAY_SIZE(mx51_cpu_op);
|
|
return mx51_cpu_op;
|
|
}
|