blob: e1b8ca9a28cf792d54f19d8610b57c36c6e72b43 [file] [log] [blame]
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef __CPU_HOTPLUG_H_
#define __CPU_HOTPLUG_H_
#ifdef CONFIG_AMLOGIC_CPU_HOTPLUG
void cpufreq_set_max_cpu_num(unsigned int num, unsigned int cluster);
#else
static inline void cpufreq_set_max_cpu_num(unsigned int n, unsigned int c)
{
}
#endif
#endif