ANDROID: Zap kernel/sched/android.h stubs
Long ago with android-mainline, kernel/sched/android.h was added to include stub functions for out-of-tree logic that we wanted to remove from android-mainline without breaking vendor drivers that relied on these stubs. Unfortunately, when the android release branches (android14-6.1 and android15-6.6) forked from android-mainline, the stubs were kept. In some cases, the functionality dropped was re-added to the release branches, but using new function names. Drivers that continued to use the old names, would then end up using the stub impelementations, likely without noticing. Lets try to clean this up by removing the stub header. This should not affect the GKI KABI, and pre-existing modules should continue to work, but when modules are re-build, they may run into build issues and will need tweaks to remove the old stub functions. Bug: 332588830 Change-Id: I516913f2e4c36e6edbffb3c12b633a158ba04287 Signed-off-by: John Stultz <jstultz@google.com>
This commit is contained in:
parent
274e3e9696
commit
6a3d68af9c
2 changed files with 0 additions and 28 deletions
|
|
@ -1,27 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Android scheduler hooks and modifications
|
||||
*
|
||||
* Put all of the android-specific scheduler hooks and changes
|
||||
* in this .h file to make merges and modifications easier. It's also
|
||||
* simpler to notice what is, and is not, an upstream change this way over time.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* task_may_not_preempt - check whether a task may not be preemptible soon
|
||||
*/
|
||||
static inline bool task_may_not_preempt(struct task_struct *task, int cpu)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool uclamp_boosted(struct task_struct *p)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool uclamp_latency_sensitive(struct task_struct *p)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
@ -70,7 +70,6 @@
|
|||
#include <linux/workqueue_api.h>
|
||||
#include <linux/android_vendor.h>
|
||||
#include <linux/android_kabi.h>
|
||||
#include "android.h"
|
||||
|
||||
#include <trace/events/power.h>
|
||||
#include <trace/events/sched.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue