mirror of https://github.com/schoebel/mars
infra: move crypto compat check
This commit is contained in:
parent
a8766f3016
commit
ccd0063da6
|
@ -114,4 +114,12 @@ extern int _compat_unlink(
|
|||
#define __HAS_STRUCT_NET
|
||||
#endif
|
||||
|
||||
/* for crypto stuff */
|
||||
#include <linux/crypto.h>
|
||||
|
||||
/* 896545098777564212b9e91af4c973f094649aa7 */
|
||||
#ifndef crt_hash
|
||||
#define HAS_NEW_CRYPTO
|
||||
#endif
|
||||
|
||||
#endif /* _MARS_COMPAT */
|
||||
|
|
|
@ -126,13 +126,6 @@ EXPORT_SYMBOL_GPL(mars_timespec_meta);
|
|||
|
||||
// crypto stuff
|
||||
|
||||
#include <linux/crypto.h>
|
||||
|
||||
/* 896545098777564212b9e91af4c973f094649aa7 */
|
||||
#ifndef crt_hash
|
||||
#define HAS_NEW_CRYPTO
|
||||
#endif
|
||||
|
||||
#ifdef HAS_NEW_CRYPTO
|
||||
|
||||
/* Nor now, use shash.
|
||||
|
|
Loading…
Reference in New Issue