Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162917
b: refs/heads/master
c: d28ecab
h: refs/heads/master
i:
  162915: 8a7cfce
v: v3
  • Loading branch information
Hendrik Brueckner authored and David S. Miller committed Sep 17, 2009
1 parent 90475a3 commit 7c3abe2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c89d86b4df8e4f2cdccb72495e2f4664118ebf1
refs/heads/master: d28ecab0c40f587fd1e28701c195747220c984e2
22 changes: 11 additions & 11 deletions trunk/net/iucv/iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler,
int rc;

local_bh_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -913,7 +913,7 @@ int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,

spin_lock_bh(&iucv_table_lock);
iucv_cleanup_queue();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -973,7 +973,7 @@ int iucv_path_quiesce(struct iucv_path *path, u8 userdata[16])
int rc;

local_bh_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1005,7 +1005,7 @@ int iucv_path_resume(struct iucv_path *path, u8 userdata[16])
int rc;

local_bh_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1034,7 +1034,7 @@ int iucv_path_sever(struct iucv_path *path, u8 userdata[16])
int rc;

preempt_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1068,7 +1068,7 @@ int iucv_message_purge(struct iucv_path *path, struct iucv_message *msg,
int rc;

local_bh_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1160,7 +1160,7 @@ int __iucv_message_receive(struct iucv_path *path, struct iucv_message *msg,
if (msg->flags & IUCV_IPRMDATA)
return iucv_message_receive_iprmdata(path, msg, flags,
buffer, size, residual);
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1233,7 +1233,7 @@ int iucv_message_reject(struct iucv_path *path, struct iucv_message *msg)
int rc;

local_bh_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1272,7 +1272,7 @@ int iucv_message_reply(struct iucv_path *path, struct iucv_message *msg,
int rc;

local_bh_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1322,7 +1322,7 @@ int __iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
union iucv_param *parm;
int rc;

if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down Expand Up @@ -1409,7 +1409,7 @@ int iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg,
int rc;

local_bh_disable();
if (!cpu_isset(smp_processor_id(), iucv_buffer_cpumask)) {
if (cpus_empty(iucv_buffer_cpumask)) {
rc = -EIO;
goto out;
}
Expand Down

0 comments on commit 7c3abe2

Please sign in to comment.