Print this page
7127  remove -Wno-missing-braces from Makefile.uts


 917         5,
 918         SE_NOUNLOAD | SE_ARGC | SE_32RVAL1,
 919         cpc
 920 };
 921 
 922 static struct modlsys modlsys = {
 923         &mod_syscallops,
 924         "cpc sampling system call",
 925         &cpc_sysent
 926 };
 927 
 928 #ifdef _SYSCALL32_IMPL
 929 static struct modlsys modlsys32 = {
 930         &mod_syscallops32,
 931         "32-bit cpc sampling system call",
 932         &cpc_sysent
 933 };
 934 #endif
 935 
 936 static struct modlinkage modl = {
 937         MODREV_1,
 938         &modldrv,
 939         &modlsys,
 940 #ifdef _SYSCALL32_IMPL
 941         &modlsys32,
 942 #endif


 943 };
 944 
 945 int
 946 _init(void)
 947 {
 948         if (kcpc_init() != 0)
 949                 return (ENOTSUP);
 950 
 951         return (mod_install(&modl));
 952 }
 953 
 954 int
 955 _fini(void)
 956 {
 957         return (mod_remove(&modl));
 958 }
 959 
 960 int
 961 _info(struct modinfo *mi)
 962 {


 917         5,
 918         SE_NOUNLOAD | SE_ARGC | SE_32RVAL1,
 919         cpc
 920 };
 921 
 922 static struct modlsys modlsys = {
 923         &mod_syscallops,
 924         "cpc sampling system call",
 925         &cpc_sysent
 926 };
 927 
 928 #ifdef _SYSCALL32_IMPL
 929 static struct modlsys modlsys32 = {
 930         &mod_syscallops32,
 931         "32-bit cpc sampling system call",
 932         &cpc_sysent
 933 };
 934 #endif
 935 
 936 static struct modlinkage modl = {
 937         MODREV_1, {
 938             &modldrv,
 939             &modlsys,
 940 #ifdef _SYSCALL32_IMPL
 941             &modlsys32,
 942 #endif
 943             NULL
 944         }
 945 };
 946 
 947 int
 948 _init(void)
 949 {
 950         if (kcpc_init() != 0)
 951                 return (ENOTSUP);
 952 
 953         return (mod_install(&modl));
 954 }
 955 
 956 int
 957 _fini(void)
 958 {
 959         return (mod_remove(&modl));
 960 }
 961 
 962 int
 963 _info(struct modinfo *mi)
 964 {