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
Kirill Smelkov
linux
Commits
3ea842b1
Commit
3ea842b1
authored
Aug 24, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: remove some old code
parent
6c5ace44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+0
-12
No files found.
arch/ppc64/kernel/sys_ppc32.c
View file @
3ea842b1
...
@@ -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