Changeset dce90eae in rtems


Ignore:
Timestamp:
02/11/09 03:39:59 (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 5, master
Children:
a45054b9
Parents:
86dab8c
Message:

Remove PSEUDO_* (Unused, not in FreeBSD).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/sys/kernel.h

    r86dab8c rdce90eae  
    187187void    kproc_start(void *udata);
    188188
    189 #ifdef PSEUDO_LKM
    190 #include <sys/conf.h>
    191 #include <sys/exec.h>
    192 #include <sys/sysent.h>
    193 #include <sys/lkm.h>
    194 
    195 #define PSEUDO_SET(init, name) \
    196         extern struct linker_set MODVNOPS; \
    197         MOD_MISC(name); \
    198         static int \
    199         name ## _load(struct lkm_table *lkmtp, int cmd) \
    200                 { init((void *)NULL /* XXX unused (?) */); return 0; } \
    201         static int \
    202         name ## _unload(struct lkm_table *lkmtp, int cmd) \
    203                 { return EINVAL; } \
    204         int \
    205         name ## _mod(struct lkm_table *lkmtp, int cmd, int ver) { \
    206                 DISPATCH(lkmtp, cmd, ver, name ## _load, name ## _unload, \
    207                          lkm_nullcmd); }
    208 #else /* PSEUDO_LKM */
    209 
    210 /*
    211  * Compatibility.  To be deprecated after LKM is updated.
    212  */
    213 #define PSEUDO_SET(sym, name)   SYSINIT(ps, SI_SUB_PSEUDO, SI_ORDER_ANY, sym, 0)
    214 
    215 #endif /* PSEUDO_LKM */
    216 
    217189#endif /* !_SYS_KERNEL_H_*/
Note: See TracChangeset for help on using the changeset viewer.