Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common Add defined(__arm__)
details: https://anonhg.NetBSD.org/src/rev/98e267edd00e
branches: trunk
changeset: 327343:98e267edd00e
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Mar 05 06:12:00 2014 +0000
description:
Add defined(__arm__)
diffstat:
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c | 2 +-
external/cddl/osnet/dist/uts/common/sys/dtrace.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 158780efd73d -r 98e267edd00e external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
--- a/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Wed Mar 05 06:06:42 2014 +0000
+++ b/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Wed Mar 05 06:12:00 2014 +0000
@@ -16603,7 +16603,7 @@
#include <dtrace_unload.c>
#include <dtrace_vtime.c>
#include <dtrace_hacks.c>
-#if defined(__i386__) || defined(__x86_64__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
#include <dtrace_isa.c>
#endif
diff -r 158780efd73d -r 98e267edd00e external/cddl/osnet/dist/uts/common/sys/dtrace.h
--- a/external/cddl/osnet/dist/uts/common/sys/dtrace.h Wed Mar 05 06:06:42 2014 +0000
+++ b/external/cddl/osnet/dist/uts/common/sys/dtrace.h Wed Mar 05 06:12:00 2014 +0000
@@ -2286,7 +2286,7 @@
extern int dtrace_mach_aframes(void);
-#if defined(__i386) || defined(__amd64)
+#if defined(__i386) || defined(__amd64) || defined(__arm__)
extern int dtrace_instr_size(uchar_t *instr);
extern int dtrace_instr_size_isa(uchar_t *, model_t, int *);
extern void dtrace_invop_add(int (*)(uintptr_t, uintptr_t *, uintptr_t));
Home |
Main Index |
Thread Index |
Old Index