summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2004-10-10 18:34:30 +0000
committerdwmalone <dwmalone@FreeBSD.org>2004-10-10 18:34:30 +0000
commitd52e344f9fc5c4d4661e51f42c380ccca24f4651 (patch)
treea788393aa36323b6cabb34f1894c04bf260e2092 /sys/compat
parent82d0e3bd69095f53120002933827b1a52eb7bd83 (diff)
downloadFreeBSD-src-d52e344f9fc5c4d4661e51f42c380ccca24f4651.zip
FreeBSD-src-d52e344f9fc5c4d4661e51f42c380ccca24f4651.tar.gz
Rename thread args to be called "td" rather than "p" to be
consistent with other bits of this file. There should be no functional change. Submitted by: Andrea Campi (many moons ago) MFC after: 2 month
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_util.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h
index 4801453..97517b1 100644
--- a/sys/compat/linux/linux_util.h
+++ b/sys/compat/linux/linux_util.h
@@ -80,17 +80,17 @@ extern const char linux_emul_path[];
int linux_emul_convpath(struct thread *, char *, enum uio_seg, char **, int);
int linux_emul_find(struct thread *, caddr_t *, char *, char **, int);
-#define CHECKALT(p, sgp, path, i) \
+#define CHECKALT(td, sgp, path, i) \
do { \
int _error; \
\
- _error = linux_emul_find(p, sgp, path, &path, i); \
+ _error = linux_emul_find(td, sgp, path, &path, i); \
if (_error == EFAULT) \
return (_error); \
} while (0)
-#define CHECKALTEXIST(p, sgp, path) CHECKALT(p, sgp, path, 0)
-#define CHECKALTCREAT(p, sgp, path) CHECKALT(p, sgp, path, 1)
+#define CHECKALTEXIST(td, sgp, path) CHECKALT(td, sgp, path, 0)
+#define CHECKALTCREAT(td, sgp, path) CHECKALT(td, sgp, path, 1)
#define LCONVPATH(td, upath, pathp, i) \
do { \
@@ -108,9 +108,9 @@ int linux_emul_find(struct thread *, caddr_t *, char *, char **, int);
#define DUMMY(s) \
int \
-linux_ ## s(struct thread *p, struct linux_ ## s ## _args *args) \
+linux_ ## s(struct thread *td, struct linux_ ## s ## _args *args) \
{ \
- return (unimplemented_syscall(p, #s)); \
+ return (unimplemented_syscall(td, #s)); \
} \
struct __hack
OpenPOWER on IntegriCloud