• M
    arm64: mm: mark fault_info table const · bbb1681e
    Mark Rutland 提交于
    Unlike the debug_fault_info table, we never intentionally alter the
    fault_info table at runtime, and all derived pointers are treated as
    const currently.
    
    Make the table const so that it can be placed in .rodata and protected
    from unintentional writes, as we do for the syscall tables.
    Signed-off-by: NMark Rutland <mark.rutland@arm.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Signed-off-by: NWill Deacon <will.deacon@arm.com>
    bbb1681e
fault.c 18.5 KB