Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/conf Don't use a magic number for COHERENCY...



details:   https://anonhg.NetBSD.org/src/rev/7e226c5515c6
branches:  trunk
changeset: 836280:7e226c5515c6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 07 18:03:59 2018 +0000

description:
Don't use a magic number for COHERENCY_UNIT use COHERENCY_UNIT

diffstat:

 sys/arch/aarch64/conf/kern.ldscript |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 148692b2a018 -r 7e226c5515c6 sys/arch/aarch64/conf/kern.ldscript
--- a/sys/arch/aarch64/conf/kern.ldscript       Sun Oct 07 16:36:36 2018 +0000
+++ b/sys/arch/aarch64/conf/kern.ldscript       Sun Oct 07 18:03:59 2018 +0000
@@ -42,17 +42,17 @@
                *(.data)
        }
 
-       . = ALIGN(64);  /* COHERENCY_UNIT */
+       . = ALIGN(COHERENCY_UNIT);
        .data.cacheline_aligned :
        {
                *(.data.cacheline_aligned)
        }
-       . = ALIGN(64);  /* COHERENCY_UNIT */
+       . = ALIGN(COHERENCY_UNIT);
        .data.read_mostly :
        {
                *(.data.read_mostly)
        }
-       . = ALIGN(64);  /* COHERENCY_UNIT */
+       . = ALIGN(COHERENCY_UNIT);
 
        _edata = .;
        PROVIDE (edata = .);



Home | Main Index | Thread Index | Old Index