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
52d90f4d
Commit
52d90f4d
authored
Sep 01, 2008
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPARC: Use <asm-generic/statfs.h>
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
15e2fc9b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
67 deletions
+3
-67
arch/sparc/include/asm/Kbuild
arch/sparc/include/asm/Kbuild
+0
-2
arch/sparc/include/asm/statfs.h
arch/sparc/include/asm/statfs.h
+3
-5
arch/sparc/include/asm/statfs_32.h
arch/sparc/include/asm/statfs_32.h
+0
-6
arch/sparc/include/asm/statfs_64.h
arch/sparc/include/asm/statfs_64.h
+0
-54
No files found.
arch/sparc/include/asm/Kbuild
View file @
52d90f4d
...
...
@@ -15,8 +15,6 @@ header-y += signal_32.h
header-y += signal_64.h
header-y += stat_32.h
header-y += stat_64.h
header-y += statfs_32.h
header-y += statfs_64.h
header-y += unistd_32.h
header-y += unistd_64.h
...
...
arch/sparc/include/asm/statfs.h
View file @
52d90f4d
#ifndef ___ASM_SPARC_STATFS_H
#define ___ASM_SPARC_STATFS_H
#if defined(__sparc__) && defined(__arch64__)
#include <asm/statfs_64.h>
#else
#include <asm/statfs_32.h>
#endif
#include <asm-generic/statfs.h>
#endif
arch/sparc/include/asm/statfs_32.h
deleted
100644 → 0
View file @
15e2fc9b
#ifndef _SPARC_STATFS_H
#define _SPARC_STATFS_H
#include <asm-generic/statfs.h>
#endif
arch/sparc/include/asm/statfs_64.h
deleted
100644 → 0
View file @
15e2fc9b
#ifndef _SPARC64_STATFS_H
#define _SPARC64_STATFS_H
#ifndef __KERNEL_STRICT_NAMES
#include <linux/types.h>
typedef
__kernel_fsid_t
fsid_t
;
#endif
struct
statfs
{
long
f_type
;
long
f_bsize
;
long
f_blocks
;
long
f_bfree
;
long
f_bavail
;
long
f_files
;
long
f_ffree
;
__kernel_fsid_t
f_fsid
;
long
f_namelen
;
long
f_frsize
;
long
f_spare
[
5
];
};
struct
statfs64
{
long
f_type
;
long
f_bsize
;
long
f_blocks
;
long
f_bfree
;
long
f_bavail
;
long
f_files
;
long
f_ffree
;
__kernel_fsid_t
f_fsid
;
long
f_namelen
;
long
f_frsize
;
long
f_spare
[
5
];
};
struct
compat_statfs64
{
__u32
f_type
;
__u32
f_bsize
;
__u64
f_blocks
;
__u64
f_bfree
;
__u64
f_bavail
;
__u64
f_files
;
__u64
f_ffree
;
__kernel_fsid_t
f_fsid
;
__u32
f_namelen
;
__u32
f_frsize
;
__u32
f_spare
[
5
];
};
#endif
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