Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8c5a83d8
Commit
8c5a83d8
authored
Aug 24, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/scratch/anton/linux-2.5_syscall_cleanup_clean
into samba.org:/scratch/anton/linux-2.5_ppc64
parents
cfec9ecd
4f68d3e1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
108 deletions
+96
-108
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+96
-96
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+0
-12
No files found.
arch/ppc64/kernel/misc.S
View file @
8c5a83d8
This diff is collapsed.
Click to expand it.
arch/ppc64/kernel/sys_ppc32.c
View file @
8c5a83d8
...
@@ -446,7 +446,6 @@ struct old_linux_dirent32 {
...
@@ -446,7 +446,6 @@ struct old_linux_dirent32 {
u32
d_ino
;
u32
d_ino
;
u32
d_offset
;
u32
d_offset
;
unsigned
short
d_namlen
;
unsigned
short
d_namlen
;
/* unsigned char d_type; */
char
d_name
[
1
];
char
d_name
[
1
];
};
};
...
@@ -497,22 +496,12 @@ asmlinkage int old32_readdir(unsigned int fd, struct old_linux_dirent32 *dirent,
...
@@ -497,22 +496,12 @@ asmlinkage int old32_readdir(unsigned int fd, struct old_linux_dirent32 *dirent,
return
error
;
return
error
;
}
}
#if 0
struct
linux_dirent32
{
struct
linux_dirent32
{
u32
d_ino
;
u32
d_ino
;
u32
d_off
;
u32
d_off
;
unsigned
short
d_reclen
;
unsigned
short
d_reclen
;
char
d_name
[
1
];
char
d_name
[
1
];
};
};
#else
struct
linux_dirent32
{
u32
d_ino
;
u32
d_off
;
unsigned
short
d_reclen
;
/* unsigned char d_type; */
char
d_name
[
256
];
};
#endif
struct
getdents_callback32
{
struct
getdents_callback32
{
struct
linux_dirent32
*
current_dir
;
struct
linux_dirent32
*
current_dir
;
...
@@ -539,7 +528,6 @@ filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino,
...
@@ -539,7 +528,6 @@ filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino,
buf
->
previous
=
dirent
;
buf
->
previous
=
dirent
;
put_user
(
ino
,
&
dirent
->
d_ino
);
put_user
(
ino
,
&
dirent
->
d_ino
);
put_user
(
reclen
,
&
dirent
->
d_reclen
);
put_user
(
reclen
,
&
dirent
->
d_reclen
);
/* put_user(d_type, &dirent->d_type); */
copy_to_user
(
dirent
->
d_name
,
name
,
namlen
);
copy_to_user
(
dirent
->
d_name
,
name
,
namlen
);
put_user
(
0
,
dirent
->
d_name
+
namlen
);
put_user
(
0
,
dirent
->
d_name
+
namlen
);
((
char
*
)
dirent
)
+=
reclen
;
((
char
*
)
dirent
)
+=
reclen
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment