summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-05-08 23:46:50 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-05-08 23:46:50 +0000
commit1fab870a8e60d0c7a3d7dcb2cc71dfa65607821d (patch)
tree6e852fb7ae3176c9f117cbb4215b4c89dc2e253b /arch/mips64/kernel
parent1f0fcfe7a8c9732df83e0352c64bdf530993f9c0 (diff)
Bomb little endian compiles for select32, so that the little endian guys
can look at the issue and develope code appropriately.
Diffstat (limited to 'arch/mips64/kernel')
-rw-r--r--arch/mips64/kernel/linux32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips64/kernel/linux32.c b/arch/mips64/kernel/linux32.c
index 98cefd87f..df0058bfe 100644
--- a/arch/mips64/kernel/linux32.c
+++ b/arch/mips64/kernel/linux32.c
@@ -949,6 +949,7 @@ extern asmlinkage int sys32_llseek(unsigned int fd, unsigned int offset_high,
static inline int
get_fd_set32(unsigned long n, unsigned long *fdset, u32 *ufdset)
{
+#ifdef __MIPSEB__
if (ufdset) {
unsigned long odd;
@@ -975,6 +976,9 @@ get_fd_set32(unsigned long n, unsigned long *fdset, u32 *ufdset)
memset(fdset, 0, ((n + 1) & ~1)*sizeof(u32));
}
return 0;
+#else
+ <<Bomb - little endian support must define this>>
+#endif
}
static inline void