text: /*
   * Copyright (c) 2016, 2018, The Linux Foundation. All rights reserved.
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 and
   * only version 2 as published by the Free Software Foundation.
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   */
  
  #ifndef __CORE_CTL_H
  #define __CORE_CTL_H
  
  struct core_ctl_notif_data {
  	unsigned int nr_big;
  	unsigned int coloc_load_pct;
  };
  
  #ifdef CONFIG_SCHED_CORE_CTL
  void core_ctl_check(u64 wallclock);
  int core_ctl_set_boost(bool boost);
  void core_ctl_notifier_register(struct notifier_block *n);
  void core_ctl_notifier_unregister(struct notifier_block *n);
  #else
  static inline void core_ctl_check(u64 wallclock) {}
  static inline int core_ctl_set_boost(bool boost)
  {
  	return 0;
  }
  static inline void core_ctl_notifier_register(struct notifier_block *n) {}
  static inline void core_ctl_notifier_unregister(struct notifier_block *n) {}
  #endif
  #endif
  