Print this page
10077 usr/src/uts/ Makefile changes for smatch

@@ -20,11 +20,11 @@
 #
 #
 # uts/i86pc/apix/Makefile
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-# Copyright 2017, Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 #       This makefile drives the production of the apix "mach"
 #       kernel module.
 #
 #       apix implementation architecture dependent

@@ -61,10 +61,15 @@
 #
 # Depends on ACPI CA interpreter
 #
 LDFLAGS         += -dy -N misc/acpica
 
+# needs work, real bug in apic_allocate_irq()
+$(OBJS_DIR)/mp_platform_common.o := SMOFF += indenting
+# needs work
+$(OBJS_DIR)/psm_common.o := SMOFF += deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: