summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/compat.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-03-05 11:06:47 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-05 11:06:47 +0100
commit508827ff0ac3981d420edac64a70de7f4e304d38 (patch)
treeb0cee8ddef9f0ceab68c388e4ae46b7295eb2cb5 /arch/sparc/include/asm/compat.h
parentsfc: Improve NIC internal error recovery (diff)
parentbonding: Fix device passed into ->ndo_neigh_setup(). (diff)
downloadlinux-508827ff0ac3981d420edac64a70de7f4e304d38.tar.xz
linux-508827ff0ac3981d420edac64a70de7f4e304d38.zip
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/tokenring/tmspci.c drivers/net/ucc_geth_mii.c
Diffstat (limited to 'arch/sparc/include/asm/compat.h')
-rw-r--r--arch/sparc/include/asm/compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/compat.h b/arch/sparc/include/asm/compat.h
index f260b58f5ce9..0e706257918f 100644
--- a/arch/sparc/include/asm/compat.h
+++ b/arch/sparc/include/asm/compat.h
@@ -240,4 +240,9 @@ struct compat_shmid64_ds {
unsigned int __unused2;
};
+static inline int is_compat_task(void)
+{
+ return test_thread_flag(TIF_32BIT);
+}
+
#endif /* _ASM_SPARC64_COMPAT_H */