mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-12 05:48:39 +08:00
iucv: get rid of in_atomic() use.
This BUG_ON is not needed, since all (debug) checks are also done in smp_call_function() which gets called by this function. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3db8ce35c3
commit
9284d6c704
@ -795,7 +795,6 @@ int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,
|
||||
union iucv_param *parm;
|
||||
int rc;
|
||||
|
||||
BUG_ON(in_atomic());
|
||||
spin_lock_bh(&iucv_table_lock);
|
||||
iucv_cleanup_queue();
|
||||
parm = iucv_param[smp_processor_id()];
|
||||
|
Loading…
Reference in New Issue
Block a user