Commit 3da55062 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sparc64 rusage build fix

Some patch in -mm causes the sparc64 build to explode because `struct rusage'
isn't defined or declared in compat.h.   So forward-declare it.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 197bbc34
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#define compat_jiffies_to_clock_t(x) \ #define compat_jiffies_to_clock_t(x) \
(((unsigned long)(x) * COMPAT_USER_HZ) / HZ) (((unsigned long)(x) * COMPAT_USER_HZ) / HZ)
struct rusage;
struct compat_itimerspec { struct compat_itimerspec {
struct compat_timespec it_interval; struct compat_timespec it_interval;
struct compat_timespec it_value; struct compat_timespec it_value;
......
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