#endif /* CONFIG_FAIL_FUTEX */
+struct futex_private_hash *futex_private_hash(void)
+{
+ return NULL;
+}
+
+bool futex_private_hash_get(struct futex_private_hash *fph)
+{
+ return false;
+}
+
+void futex_private_hash_put(struct futex_private_hash *fph) { }
+
/**
* futex_hash - Return the hash bucket in the global hash
* @key: Pointer to the futex key for which the hash is calculated
extern void futex_hash_get(struct futex_hash_bucket *hb);
extern void futex_hash_put(struct futex_hash_bucket *hb);
+extern struct futex_private_hash *futex_private_hash(void);
+extern bool futex_private_hash_get(struct futex_private_hash *fph);
+extern void futex_private_hash_put(struct futex_private_hash *fph);
+
DEFINE_CLASS(hb, struct futex_hash_bucket *,
if (_T) futex_hash_put(_T),
futex_hash(key), union futex_key *key);
+DEFINE_CLASS(private_hash, struct futex_private_hash *,
+ if (_T) futex_private_hash_put(_T),
+ futex_private_hash(), void);
+
/**
* futex_match - Check whether two futex keys are equal
* @key1: Pointer to key1