git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-2.6.37/misc' of git://git.kernel.dk/linux-2.6-block
[pandora-kernel.git]
/
arch
/
powerpc
/
include
/
asm
/
compat.h
diff --git
a/arch/powerpc/include/asm/compat.h
b/arch/powerpc/include/asm/compat.h
index
a11d4ea
..
2296112
100644
(file)
--- a/
arch/powerpc/include/asm/compat.h
+++ b/
arch/powerpc/include/asm/compat.h
@@
-143,7
+143,7
@@
static inline void __user *arch_compat_alloc_user_space(long len)
* We cant access below the stack pointer in the 32bit ABI and
* can access 288 bytes in the 64bit ABI
*/
* We cant access below the stack pointer in the 32bit ABI and
* can access 288 bytes in the 64bit ABI
*/
- if (!
(test_thread_flag(TIF_32BIT)
))
+ if (!
is_32bit_task(
))
usp -= 288;
return (void __user *) (usp - len);
usp -= 288;
return (void __user *) (usp - len);
@@
-213,7
+213,7
@@
struct compat_shmid64_ds {
static inline int is_compat_task(void)
{
static inline int is_compat_task(void)
{
- return
test_thread_flag(TIF_32BIT
);
+ return
is_32bit_task(
);
}
#endif /* __KERNEL__ */
}
#endif /* __KERNEL__ */