git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
mips
/
kernel
/
kspd.c
diff --git
a/arch/mips/kernel/kspd.c
b/arch/mips/kernel/kspd.c
index
f06a144
..
5929f88
100644
(file)
--- a/
arch/mips/kernel/kspd.c
+++ b/
arch/mips/kernel/kspd.c
@@
-301,7
+301,7
@@
static void sp_cleanup(void)
for (;;) {
unsigned long set;
i = j * __NFDBITS;
for (;;) {
unsigned long set;
i = j * __NFDBITS;
- if (i >= fdt->max_fds
et || i >= fdt->max_fds
)
+ if (i >= fdt->max_fds)
break;
set = fdt->open_fds->fds_bits[j++];
while (set) {
break;
set = fdt->open_fds->fds_bits[j++];
while (set) {
@@
-319,7
+319,7
@@
static void sp_cleanup(void)
static int channel_open = 0;
/* the work handler */
static int channel_open = 0;
/* the work handler */
-static void sp_work(
void *data
)
+static void sp_work(
struct work_struct *unused
)
{
if (!channel_open) {
if( rtlx_open(RTLX_CHANNEL_SYSIO, 1) != 0) {
{
if (!channel_open) {
if( rtlx_open(RTLX_CHANNEL_SYSIO, 1) != 0) {
@@
-354,7
+354,7
@@
static void startwork(int vpe)
return;
}
return;
}
- INIT_WORK(&work, sp_work
, NULL
);
+ INIT_WORK(&work, sp_work);
queue_work(workqueue, &work);
} else
queue_work(workqueue, &work);
queue_work(workqueue, &work);
} else
queue_work(workqueue, &work);