Skip to content
  • Andrew Turner's avatar
    Check cpu_softc is not NULL before dereferencing · 4e50efb1
    Andrew Turner authored
    In the acpi_cpu_postattach SYSINIT function cpu_softc may be NULL, e.g.
    on arm64 when booting from FDT. Check it is not NULL at the start of
    the function so we don't try to dereference a NULL pointer.
    
    Sponsored by:	The FreeBSD Foundation
    4e50efb1