mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Revert "rcu: Force rcu_expedited for Android"
This reverts commit e17aedc1fa5020b943f8f557f4795668737e8362. Change-Id: I880ad0558e2bdd26ffb86ac36380dfd5f132e0bc Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
794a9d670f
commit
ff20ee02f1
@ -149,7 +149,7 @@ static ssize_t fscaps_show(struct kobject *kobj,
|
||||
KERNEL_ATTR_RO(fscaps);
|
||||
|
||||
#ifndef CONFIG_TINY_RCU
|
||||
int rcu_expedited = IS_ENABLED(CONFIG_ANDROID);
|
||||
int rcu_expedited;
|
||||
static ssize_t rcu_expedited_show(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, char *buf)
|
||||
{
|
||||
@ -166,7 +166,7 @@ static ssize_t rcu_expedited_store(struct kobject *kobj,
|
||||
}
|
||||
KERNEL_ATTR_RW(rcu_expedited);
|
||||
|
||||
int rcu_normal = !IS_ENABLED(CONFIG_ANDROID);
|
||||
int rcu_normal;
|
||||
static ssize_t rcu_normal_show(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, char *buf)
|
||||
{
|
||||
|
@ -67,7 +67,7 @@ extern int rcu_expedited; /* from sysctl */
|
||||
module_param(rcu_expedited, int, 0);
|
||||
extern int rcu_normal; /* from sysctl */
|
||||
module_param(rcu_normal, int, 0);
|
||||
static int rcu_normal_after_boot = !IS_ENABLED(CONFIG_ANDROID);
|
||||
static int rcu_normal_after_boot;
|
||||
module_param(rcu_normal_after_boot, int, 0);
|
||||
#endif /* #ifndef CONFIG_TINY_RCU */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user