Remove support for MKTRACE, MKMCONTEXT, MKSTATECTL
Change-Id: Ib5fa53913ecb7b46d30d391dbdd3e8ef21eb2254
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -5,8 +5,4 @@ LIB= chardriver
|
||||
|
||||
SRCS= chardriver.c
|
||||
|
||||
.if ${USE_STATECTL} != "no"
|
||||
CPPFLAGS+= -DUSE_STATECTL
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user