git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
include
/
asm-parisc
/
compat.h
diff --git
a/include/asm-parisc/compat.h
b/include/asm-parisc/compat.h
index
71b4eee
..
289624d
100644
(file)
--- a/
include/asm-parisc/compat.h
+++ b/
include/asm-parisc/compat.h
@@
-5,7
+5,6
@@
*/
#include <linux/types.h>
#include <linux/sched.h>
*/
#include <linux/types.h>
#include <linux/sched.h>
-#include <linux/personality.h>
#define COMPAT_USER_HZ 100
#define COMPAT_USER_HZ 100
@@
-150,14
+149,4
@@
static __inline__ void __user *compat_alloc_user_space(long len)
return (void __user *)regs->gr[30];
}
return (void __user *)regs->gr[30];
}
-static inline int __is_compat_task(struct task_struct *t)
-{
- return personality(t->personality) == PER_LINUX32;
-}
-
-static inline int is_compat_task(void)
-{
- return __is_compat_task(current);
-}
-
#endif /* _ASM_PARISC_COMPAT_H */
#endif /* _ASM_PARISC_COMPAT_H */