changeset 12298:1854b1d502e1

6947892 dalign option not needed for x86/x64 modules
author Surya Prakki <Surya.Prakki@Sun.COM>
date Mon, 03 May 2010 22:41:24 -0700
parents 9b5ab8584c21
children f999414f1866
files usr/src/uts/i86pc/cpudrv/Makefile usr/src/uts/intel/hxge/Makefile usr/src/uts/intel/myri10ge/Makefile usr/src/uts/intel/nxge/Makefile
diffstat 4 files changed, 5 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/i86pc/cpudrv/Makefile	Mon May 03 22:38:39 2010 -0400
+++ b/usr/src/uts/i86pc/cpudrv/Makefile	Mon May 03 22:41:24 2010 -0700
@@ -19,10 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 #
 #	This makefile drives the production of the cpu driver
 #	kernel module.
@@ -59,11 +56,6 @@
 CFLAGS += $(CCVERBOSE)
 
 #
-# Turn on doubleword alignment for 64 bit registers
-#
-CFLAGS += -dalign
-
-#
 # Link to acpica for ACPI services
 #
 LDFLAGS		+= -dy -N misc/acpica
--- a/usr/src/uts/intel/hxge/Makefile	Mon May 03 22:38:39 2010 -0400
+++ b/usr/src/uts/intel/hxge/Makefile	Mon May 03 22:41:24 2010 -0700
@@ -20,8 +20,7 @@
 #
 # uts/intel/hxge/Makefile
 #
-# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
 #
 #	This makefile drives the production of the Sun
 #	10G hxge Ethernet leaf driver kernel module.
@@ -61,11 +60,6 @@
 INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
 
 #
-#
-# Turn on doubleword alignment for 64 bit registers
-#
-CFLAGS	+= -dalign
-#
 # Include hxge specific header files
 #
 INC_PATH	+= -I$(UTSBASE)/common/io/hxge
--- a/usr/src/uts/intel/myri10ge/Makefile	Mon May 03 22:38:39 2010 -0400
+++ b/usr/src/uts/intel/myri10ge/Makefile	Mon May 03 22:41:24 2010 -0700
@@ -19,8 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
@@ -60,7 +59,7 @@
 
 INC_PATH  += -I$(UTSBASE)/common/io/myri10ge -I$(UTSBASE)/common/io/myri10ge/firmware
 
-CFLAGS    += -dalign -DSOLARIS_S11
+CFLAGS    += -DSOLARIS_S11
 
 #
 # Driver depends on MAC
--- a/usr/src/uts/intel/nxge/Makefile	Mon May 03 22:38:39 2010 -0400
+++ b/usr/src/uts/intel/nxge/Makefile	Mon May 03 22:41:24 2010 -0700
@@ -20,12 +20,9 @@
 #
 # uts/intel/nxge/Makefile
 #
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 #
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 #	This makefile drives the production of the Sun NIU
 #	10G/1G Ethernet leaf driver kernel module.
 #
@@ -64,11 +61,6 @@
 INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
 
 #
-#
-# Turn on doubleword alignment for 64 bit registers
-#
-CFLAGS	+= -dalign
-#
 # Include nxge specific header files
 #
 INC_PATH	+= -I$(UTSBASE)/common