summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-05-10 20:38:16 +0000
committernetchild <netchild@FreeBSD.org>2006-05-10 20:38:16 +0000
commit326540d4d567d7d8120fe40a0512fe88864e7178 (patch)
tree64536960421af3dd9e546fefcee3ef459e00de8c /sys/compat/linux/linux_file.c
parent178c925c6402ab05c6e639a6b96cd9b41d2fb009 (diff)
downloadFreeBSD-src-326540d4d567d7d8120fe40a0512fe88864e7178.zip
FreeBSD-src-326540d4d567d7d8120fe40a0512fe88864e7178.tar.gz
Now that we don't have a linuxolator on alpha anymore:
- unifdef __alpha__ - revert rev. 1.66 of linux_socket.c
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r--sys/compat/linux/linux_file.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index b0d054d..ca6b7a6 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -63,7 +63,6 @@ __FBSDID("$FreeBSD$");
#endif
#include <compat/linux/linux_util.h>
-#ifndef __alpha__
int
linux_creat(struct thread *td, struct linux_creat_args *args)
{
@@ -81,7 +80,6 @@ linux_creat(struct thread *td, struct linux_creat_args *args)
LFREEPATH(path);
return (error);
}
-#endif /*!__alpha__*/
int
linux_open(struct thread *td, struct linux_open_args *args)
@@ -175,7 +173,6 @@ linux_lseek(struct thread *td, struct linux_lseek_args *args)
return error;
}
-#ifndef __alpha__
int
linux_llseek(struct thread *td, struct linux_llseek_args *args)
{
@@ -203,9 +200,7 @@ linux_llseek(struct thread *td, struct linux_llseek_args *args)
td->td_retval[0] = 0;
return 0;
}
-#endif /*!__alpha__*/
-#ifndef __alpha__
int
linux_readdir(struct thread *td, struct linux_readdir_args *args)
{
@@ -216,7 +211,6 @@ linux_readdir(struct thread *td, struct linux_readdir_args *args)
lda.count = 1;
return linux_getdents(td, &lda);
}
-#endif /*!__alpha__*/
/*
* Note that linux_getdents(2) and linux_getdents64(2) have the same
@@ -705,7 +699,6 @@ linux_link(struct thread *td, struct linux_link_args *args)
return (error);
}
-#ifndef __alpha__
int
linux_fdatasync(td, uap)
struct thread *td;
@@ -716,7 +709,6 @@ linux_fdatasync(td, uap)
bsd.fd = uap->fd;
return fsync(td, &bsd);
}
-#endif /*!__alpha__*/
int
linux_pread(td, uap)
@@ -951,10 +943,6 @@ bsd_to_linux_flock64(struct flock *bsd_flock, struct l_flock64 *linux_flock)
}
#endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */
-#if defined(__alpha__)
-#define linux_fcntl64_args linux_fcntl_args
-#endif
-
static int
fcntl_common(struct thread *td, struct linux_fcntl64_args *args)
{
OpenPOWER on IntegriCloud