File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ cpucap_is_possible(const unsigned int cap)
44
44
return IS_ENABLED (CONFIG_ARM64_TLB_RANGE );
45
45
case ARM64_HAS_S1POE :
46
46
return IS_ENABLED (CONFIG_ARM64_POE );
47
+ case ARM64_HAS_GCS :
48
+ return IS_ENABLED (CONFIG_ARM64_GCS );
47
49
case ARM64_UNMAP_KERNEL_AT_EL0 :
48
50
return IS_ENABLED (CONFIG_UNMAP_KERNEL_AT_EL0 );
49
51
case ARM64_WORKAROUND_843419 :
Original file line number Diff line number Diff line change @@ -847,8 +847,7 @@ static inline bool system_supports_poe(void)
847
847
848
848
static inline bool system_supports_gcs (void )
849
849
{
850
- return IS_ENABLED (CONFIG_ARM64_GCS ) &&
851
- alternative_has_cap_unlikely (ARM64_HAS_GCS );
850
+ return alternative_has_cap_unlikely (ARM64_HAS_GCS );
852
851
}
853
852
854
853
static inline bool system_supports_haft (void )
You can’t perform that action at this time.
0 commit comments