]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/firmware/efi/efivars.c
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / drivers / firmware / efi / efivars.c
index c5b0d2bc1111e4fd62f9164b6f02170ef1ea56c9..87d48d4e327d65b249b6b551d87bf15cbfef733a 100644 (file)
@@ -231,7 +231,7 @@ sanity_check(struct efi_variable *var, efi_char16_t *name, efi_guid_t vendor,
 
 static inline bool is_compat(void)
 {
-       if (IS_ENABLED(CONFIG_COMPAT) && is_compat_task())
+       if (IS_ENABLED(CONFIG_COMPAT) && in_compat_syscall())
                return true;
 
        return false;