diff options
author | mjg <mjg@FreeBSD.org> | 2014-11-01 22:36:40 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-11-01 22:36:40 +0000 |
commit | 63b330d2cce7e73385f8e55bf96f9349c2cade1e (patch) | |
tree | b36335c26d658ca30fb89bbbe9681011e765c878 /sys/sys/sysent.h | |
parent | 6d8b7cad33b6077912a4191e4ce4e55672d329fa (diff) | |
download | FreeBSD-src-63b330d2cce7e73385f8e55bf96f9349c2cade1e.zip FreeBSD-src-63b330d2cce7e73385f8e55bf96f9349c2cade1e.tar.gz |
Fix up module unload for syscall_module_handler consumers.
After r273707 it was registering syscalls as static.
This fixes hwpmc module unload.
Reported by: markj
Diffstat (limited to 'sys/sys/sysent.h')
-rw-r--r-- | sys/sys/sysent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h index dabc8e8..bef27ce 100644 --- a/sys/sys/sysent.h +++ b/sys/sys/sysent.h @@ -175,6 +175,7 @@ struct syscall_module_data { int *offset; /* offset into sysent */ struct sysent *new_sysent; /* new sysent */ struct sysent old_sysent; /* old sysent */ + int flags; /* flags for syscall_register */ }; #define MAKE_SYSENT(syscallname) \ |