• Nicholas Piggin's avatar
    powerpc/64: Fix watchdog configuration regressions · 70412c55
    Nicholas Piggin authored
    This fixes a couple more bits of fallout from the new hard lockup watchdog
    patch.
    
    It restores the required hw_nmi_get_sample_period() function for the
    perf watchdog, and removes some function declarations on 64e that are only
    defined for 64s. This fixes the 64e build when the hardlockup detector is
    enabled.
    
    It restores the default behaviour of disabling the perf watchdog, and also
    fixes disabling the 64s watchdog when running as a guest.
    
    Fixes: 2104180a ("powerpc/64s: implement arch-specific hardlockup watchdog")
    Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    70412c55
nmi.h 364 Bytes