• Soby Mathew's avatar
    Derive stack alignment from CACHE_WRITEBACK_GRANULE · 663db206
    Soby Mathew authored
    The per-cpu stacks should be aligned to the cache-line size and
    the `declare_stack` helper in asm_macros.S macro assumed a
    cache-line size of 64 bytes. The platform defines the cache-line
    size via CACHE_WRITEBACK_GRANULE macro. This patch modifies
    `declare_stack` helper macro to derive stack alignment from the
    platform defined macro.
    
    Change-Id: I1e1b00fc8806ecc88190ed169f4c8d3dd25fe95b
    663db206
platform_up_stack.S 3.76 KB