Remove support for MKTRACE, MKMCONTEXT, MKSTATECTL

Change-Id: Ib5fa53913ecb7b46d30d391dbdd3e8ef21eb2254
This commit is contained in:
David van Moolenbroek
2013-10-27 01:54:37 +02:00
committed by Lionel Sambuc
parent 56be4fa616
commit f30a16b159
14 changed files with 9 additions and 75 deletions

View File

@@ -5,8 +5,4 @@ LIB= blockdriver
SRCS= driver.c drvlib.c driver_st.c driver_mt.c mq.c trace.c
.if ${USE_STATECTL} != "no"
CPPFLAGS+= -DUSE_STATECTL
.endif
.include <bsd.lib.mk>

View File

@@ -106,10 +106,8 @@ void blockdriver_announce(int type)
* will not restart statefully, and thus will skip this code.
*/
if (type == SEF_INIT_RESTART) {
#if USE_STATECTL
if ((r = sys_statectl(SYS_STATE_CLEAR_IPC_REFS)) != OK)
panic("blockdriver_init: sys_statectl failed: %d", r);
#endif
}
/* Publish a driver up event. */

View File

@@ -5,8 +5,4 @@ LIB= chardriver
SRCS= chardriver.c
.if ${USE_STATECTL} != "no"
CPPFLAGS+= -DUSE_STATECTL
.endif
.include <bsd.lib.mk>

View File

@@ -106,10 +106,8 @@ void chardriver_announce(void)
* For this reason, there may blocked callers when a driver restarts.
* Ask the kernel to unblock them (if any).
*/
#if USE_STATECTL
if ((r = sys_statectl(SYS_STATE_CLEAR_IPC_REFS)) != OK)
panic("chardriver_announce: sys_statectl failed: %d", r);
#endif
/* Publish a driver up event. */
if ((r = ds_retrieve_label_name(label, getprocnr())) != OK)

View File

@@ -21,11 +21,9 @@ i2cdriver_announce(uint32_t bus)
* For this reason, there may blocked callers when a driver restarts.
* Ask the kernel to unblock them (if any).
*/
#if USE_STATECTL
if ((r = sys_statectl(SYS_STATE_CLEAR_IPC_REFS)) != OK) {
panic("chardriver_init: sys_statectl failed: %d", r);
}
#endif
/* Publish a driver up event. */
r = ds_retrieve_label_name(label, getprocnr());