diff options
author | 2009-12-18 17:43:15 +0100 | |
---|---|---|
committer | 2009-12-18 17:43:31 +0100 | |
commit | ffa8d2a3e80a3f0dee9886947dbd506d2bb226d2 (patch) | |
tree | 984a55405b44538777701596552dc1c50510bb1c /lib/debugobjects.c | |
parent | [S390] wire up sys_recvmmsg (diff) | |
download | wireguard-linux-ffa8d2a3e80a3f0dee9886947dbd506d2bb226d2.tar.xz wireguard-linux-ffa8d2a3e80a3f0dee9886947dbd506d2bb226d2.zip |
[S390] cio: fix drvdata usage for the console subchannel
Using dev_set_drvdata prior to device_register will force the driver core
to kmalloc its private data. Since we use this for the console subchannel
lets set the drvdata before taking the subchannels spinlock.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions