Author: ian
Date: Wed Jan 21 21:31:26 2015
New Revision: 277516
URL: https://svnweb.freebsd.org/changeset/base/277516

Log:
  Move the __aligned() declaration to where it will actually do something.

Modified:
  head/sys/arm/arm/bus_space_base.c

Modified: head/sys/arm/arm/bus_space_base.c
==============================================================================
--- head/sys/arm/arm/bus_space_base.c   Wed Jan 21 20:32:36 2015        
(r277515)
+++ head/sys/arm/arm/bus_space_base.c   Wed Jan 21 21:31:26 2015        
(r277516)
@@ -45,7 +45,7 @@ bs_protos(generic);
  * The bus space tag.  This is constant for all instances, so
  * we never have to explicitly "create" it.
  */
-static struct bus_space arm_base_bus_space = {
+static struct bus_space arm_base_bus_space __aligned(CACHE_LINE_SIZE) = {
        /* privdata is whatever the implementer wants; unused in base tag */
        .bs_privdata    = NULL,
 
@@ -150,7 +150,7 @@ static struct bus_space arm_base_bus_spa
        .bs_wr_2_s      = generic_bs_wr_2,
        .bs_wr_4_s      = generic_bs_wr_4,
        .bs_wr_8_s      = BS_UNIMPLEMENTED,
-} __aligned(CACHE_LINE_SIZE);
+};
 
 #ifdef FDT
 bus_space_tag_t fdtbus_bs_tag = &arm_base_bus_space;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to