| .. | .. |
|---|
| 38 | 38 | { |
|---|
| 39 | 39 | if (test_facility(156)) |
|---|
| 40 | 40 | pr_info("Spectre V2 mitigation: etokens\n"); |
|---|
| 41 | | - if (IS_ENABLED(CC_USING_EXPOLINE) && !nospec_disable) |
|---|
| 41 | + if (__is_defined(CC_USING_EXPOLINE) && !nospec_disable) |
|---|
| 42 | 42 | pr_info("Spectre V2 mitigation: execute trampolines\n"); |
|---|
| 43 | 43 | if (__test_facility(82, S390_lowcore.alt_stfle_fac_list)) |
|---|
| 44 | 44 | pr_info("Spectre V2 mitigation: limited branch prediction\n"); |
|---|
| .. | .. |
|---|
| 64 | 64 | * The machine supports etokens. |
|---|
| 65 | 65 | * Disable expolines and disable nobp. |
|---|
| 66 | 66 | */ |
|---|
| 67 | | - if (IS_ENABLED(CC_USING_EXPOLINE)) |
|---|
| 67 | + if (__is_defined(CC_USING_EXPOLINE)) |
|---|
| 68 | 68 | nospec_disable = 1; |
|---|
| 69 | 69 | __clear_facility(82, S390_lowcore.alt_stfle_fac_list); |
|---|
| 70 | | - } else if (IS_ENABLED(CC_USING_EXPOLINE)) { |
|---|
| 70 | + } else if (__is_defined(CC_USING_EXPOLINE)) { |
|---|
| 71 | 71 | /* |
|---|
| 72 | 72 | * The kernel has been compiled with expolines. |
|---|
| 73 | 73 | * Keep expolines enabled and disable nobp. |
|---|