Commit c66ac94e authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix some circular include deps.

parent 09f382a3
...@@ -12,6 +12,26 @@ typedef s32 compat_ssize_t; ...@@ -12,6 +12,26 @@ typedef s32 compat_ssize_t;
typedef s32 compat_time_t; typedef s32 compat_time_t;
typedef s32 compat_clock_t; typedef s32 compat_clock_t;
struct compat_stat {
__kernel_dev_t32 st_dev;
__kernel_ino_t32 st_ino;
__kernel_mode_t32 st_mode;
s16 st_nlink;
__kernel_uid_t32 st_uid;
__kernel_gid_t32 st_gid;
__kernel_dev_t32 st_rdev;
__kernel_off_t32 st_size;
compat_time_t st_atime;
u32 __unused1;
compat_time_t st_mtime;
u32 __unused2;
compat_time_t st_ctime;
u32 __unused3;
__kernel_off_t32 st_blksize;
__kernel_off_t32 st_blocks;
u32 __unused4[2];
};
struct compat_timespec { struct compat_timespec {
compat_time_t tv_sec; compat_time_t tv_sec;
s32 tv_nsec; s32 tv_nsec;
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <asm/a.out.h> #include <asm/a.out.h>
#include <asm/pstate.h> #include <asm/pstate.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/signal.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/delay.h> #include <asm/delay.h>
...@@ -93,6 +92,8 @@ struct thread_struct { ...@@ -93,6 +92,8 @@ struct thread_struct {
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/types.h>
/* Return saved PC of a blocked thread. */ /* Return saved PC of a blocked thread. */
struct task_struct; struct task_struct;
extern unsigned long thread_saved_pc(struct task_struct *); extern unsigned long thread_saved_pc(struct task_struct *);
......
...@@ -3,28 +3,6 @@ ...@@ -3,28 +3,6 @@
#define _SPARC64_STAT_H #define _SPARC64_STAT_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/compat.h>
#include <linux/time.h>
struct compat_stat {
__kernel_dev_t32 st_dev;
__kernel_ino_t32 st_ino;
__kernel_mode_t32 st_mode;
short st_nlink;
__kernel_uid_t32 st_uid;
__kernel_gid_t32 st_gid;
__kernel_dev_t32 st_rdev;
__kernel_off_t32 st_size;
compat_time_t st_atime;
unsigned int __unused1;
compat_time_t st_mtime;
unsigned int __unused2;
compat_time_t st_ctime;
unsigned int __unused3;
__kernel_off_t32 st_blksize;
__kernel_off_t32 st_blocks;
unsigned int __unused4[2];
};
struct stat { struct stat {
dev_t st_dev; dev_t st_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment