summaryrefslogtreecommitdiff
path: root/include/net/smc.h
blob: 12d26358ad9fb07cdd07c173e7d10ca7b43738cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *  Shared Memory Communications over RDMA (SMC-R) and RoCE
 *
 *  Definitions for the SMC module (socket related)
 *
 *  Copyright IBM Corp. 2016
 *
 *  Author(s):  Ursula Braun <ubraun@linux.vnet.ibm.com>
 */
#ifndef _SMC_H
#define _SMC_H

struct smc_hashinfo {
	rwlock_t lock;
	struct hlist_head ht;
};

int smc_hash_sk(struct sock *sk);
void smc_unhash_sk(struct sock *sk);
#endif	/* _SMC_H */
class='ctrl'>
authorNeil Armstrong <narmstrong@baylibre.com>2017-01-02 16:09:59 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2017-01-03 10:23:02 +0100
commitdcafc45dcb6d8bb6d159ed0a903bd0f3de597fac (patch)
tree05b4d0a7ac9ac8017bddbfbe50bbc25af9efca19 /include/dt-bindings
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88 (diff)
drm/meson: Fix plane atomic check when no crtc for the plane
When no CRTC is associated with the plane, the meson_plane_atomic_check() call breaks the kernel with an Oops. Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include/dt-bindings')