projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae4828
)
[POWERPC] Fix SPU coredump code for max_fdset removal
author
Paul Mackerras
<paulus@samba.org>
Mon, 11 Dec 2006 04:13:37 +0000
(15:13 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 11 Dec 2006 04:13:37 +0000
(15:13 +1100)
Commit
bbea9f69668a3d0cf9feba15a724cd02896f8675
removed the max_fdset
element of struct fdtable. It appears that checking max_fds is
sufficient now.
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/coredump.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/spufs/coredump.c
b/arch/powerpc/platforms/cell/spufs/coredump.c
index 26945c491f6b21bd7783bff75478df20a9c9aafe..725e19561159dd60bf492d0d87816f3f76767e51 100644
(file)
--- a/
arch/powerpc/platforms/cell/spufs/coredump.c
+++ b/
arch/powerpc/platforms/cell/spufs/coredump.c
@@
-147,7
+147,7
@@
static int spufs_arch_notes_size(void)
struct fdtable *fdt = files_fdtable(current->files);
int size = 0, fd;
- for (fd = 0; fd < fdt->max_fds
et && fd < fdt->max_fds
; fd++) {
+ for (fd = 0; fd < fdt->max_fds; fd++) {
if (FD_ISSET(fd, fdt->open_fds)) {
struct file *file = fcheck(fd);