mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
Revert "Revert "FROMLIST: cpuidle: governor: export cpuidle governor functions""
This reverts commit 4f4ec94fcb.
NOTE: Downstream modular governor is used on Qualcomm Technologies, Inc.
chipsets and this change can not be upstreamed due to lack of consumer of
export symbols in upstream.
Bug: 169136276
Bug: 195914333
Change-Id: I84f0056f5df48fe39b06aab36515347bdb5b023a
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
---
drivers/cpuidle/governor.c | 2 ++
This commit is contained in:
@@ -102,6 +102,7 @@ int cpuidle_register_governor(struct cpuidle_governor *gov)
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(cpuidle_register_governor);
|
||||
|
||||
/**
|
||||
* cpuidle_governor_latency_req - Compute a latency constraint for CPU
|
||||
@@ -118,3 +119,4 @@ s64 cpuidle_governor_latency_req(unsigned int cpu)
|
||||
|
||||
return (s64)device_req * NSEC_PER_USEC;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(cpuidle_governor_latency_req);
|
||||
|
||||
Reference in New Issue
Block a user