summaryrefslogtreecommitdiff
path: root/usr/src/cmd/picl/plugins/sun4v/pri
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/picl/plugins/sun4v/pri')
-rw-r--r--usr/src/cmd/picl/plugins/sun4v/pri/Makefile23
-rw-r--r--usr/src/cmd/picl/plugins/sun4v/pri/priplugin.c6
2 files changed, 3 insertions, 26 deletions
diff --git a/usr/src/cmd/picl/plugins/sun4v/pri/Makefile b/usr/src/cmd/picl/plugins/sun4v/pri/Makefile
index afec140c72..6b67dec843 100644
--- a/usr/src/cmd/picl/plugins/sun4v/pri/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4v/pri/Makefile
@@ -23,10 +23,7 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/picl/plugins/sun4v/pri/Makefile
-#
+
LIBRARY= libpriplugin.a
VERS= .1
@@ -48,19 +45,6 @@ include $(SRC)/cmd/picl/plugins/Makefile.com
SRCS= $(OBJECTS:%.o=%.c)
-LINT_SRC= ./priplugin.c ./init.c \
- ./mem_prop_update.c io_dev_label.c \
- $(SRC)/common/mdesc/mdesc_findname.c \
- $(SRC)/common/mdesc/mdesc_findnodeprop.c \
- $(SRC)/common/mdesc/mdesc_fini.c \
- $(SRC)/common/mdesc/mdesc_getpropdata.c \
- $(SRC)/common/mdesc/mdesc_getpropstr.c \
- $(SRC)/common/mdesc/mdesc_getpropval.c \
- $(SRC)/common/mdesc/mdesc_init_intern.c \
- $(SRC)/common/mdesc/mdesc_nodecount.c \
- $(SRC)/common/mdesc/mdesc_rootnode.c \
- $(SRC)/common/mdesc/mdesc_scandag.c
-
$(OBJS_DIR)/%.o: $(SRC)/common/mdesc/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
@@ -74,8 +58,6 @@ DYNFLAGS_COM = /usr/lib/picl/plugins
ROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
-CLEANFILES = $(LINTOUT) $(LINTLIB)
-
CPPFLAGS += -I$(SRC)/common/mdesc
CPPFLAGS += -I$(SRC)/uts/common/sys
CPPFLAGS += -I$(SRC)/lib/libpri/common
@@ -99,8 +81,6 @@ $(SPARC_BLD)LDLIBS += -R$(DYNFLAGS_PLAT) \
-R$(DYNFLAGS_SUN4V)
LDLIBS += -R$(DYNFLAGS_COM)
-LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN -v
-
.KEEP_STATE:
all: $(LIBS) $(LIBLINKS)
@@ -115,6 +95,5 @@ include $(SRC)/cmd/picl/plugins/Makefile.targ
include $(SRC)/lib/Makefile.targ
lint :
- $(LINT.c) $(LINT_SRC)
FRC:
diff --git a/usr/src/cmd/picl/plugins/sun4v/pri/priplugin.c b/usr/src/cmd/picl/plugins/sun4v/pri/priplugin.c
index 7ef1bad438..13bf878af8 100644
--- a/usr/src/cmd/picl/plugins/sun4v/pri/priplugin.c
+++ b/usr/src/cmd/picl/plugins/sun4v/pri/priplugin.c
@@ -24,8 +24,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <pri.h>
#include "priplugin.h"
@@ -126,14 +124,14 @@ priplugin_init(void)
(void) mutex_init(&rebuild_lock, USYNC_THREAD, NULL);
(void) cond_init(&rebuild_cv, USYNC_THREAD, NULL);
- if ((status = thr_create(NULL, NULL, pri_worker_thread, NULL, THR_BOUND,
+ if ((status = thr_create(NULL, 0, pri_worker_thread, NULL, THR_BOUND,
&pri_worker_thread_id)) < 0) {
pri_debug(LOG_NOTICE, "priplugin: can't create worker thread: "
"%d\n", status);
all_thr_exit = B_TRUE;
(void) mutex_destroy(&rebuild_lock);
(void) cond_destroy(&rebuild_cv);
- } else if ((status = thr_create(NULL, NULL, pri_reader_thread, NULL,
+ } else if ((status = thr_create(NULL, 0, pri_reader_thread, NULL,
THR_BOUND, &pri_reader_thread_id)) < 0) {
pri_debug(LOG_NOTICE, "priplugin: can't create reader thread: "
"%d\n", status);