[S390] sclp: remove unnecessary sendmask check
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / cpuset.c
index 33eee16addb83bb6aaf411b03a09e3872671c42f..2bb8c2e98fff4074bce131a145966bfb1c788866 100644 (file)
@@ -1159,7 +1159,7 @@ int current_cpuset_is_being_rebound(void)
 static int update_relax_domain_level(struct cpuset *cs, s64 val)
 {
 #ifdef CONFIG_SMP
-       if (val < -1 || val >= SD_LV_MAX)
+       if (val < -1 || val >= sched_domain_level_max)
                return -EINVAL;
 #endif