lkml.org 
[lkml]   [2023]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 03/18] watchdog: remove WATCHDOG_DEFAULT
    Date
    From: Lecopzer Chen <lecopzer.chen@mediatek.com>

    No reference to WATCHDOG_DEFAULT, remove it.

    Signed-off-by: Pingfan Liu <kernelfans@gmail.com>
    Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
    Reviewed-by: Petr Mladek <pmladek@suse.com>
    Signed-off-by: Douglas Anderson <dianders@chromium.org>
    ---
    I yanked this patch from the mailing lists [1] into my series just to
    make it easier to avoid conflicts between my series and the one adding
    the arm64 perf hardlockup detector, in case someone wanted to test
    them both together. This is a nice cleanup and could land together
    with the rest of my series if that makes sense.

    I changed the patch prefix to match others in my series.

    [1] https://lore.kernel.org/r/20220903093415.15850-2-lecopzer.chen@mediatek.com/

    (no changes since v4)

    Changes in v4:
    - Pulled ("remove WATCHDOG_DEFAULT") into my series for v4.

    kernel/watchdog.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/kernel/watchdog.c b/kernel/watchdog.c
    index 8e61f21e7e33..582d572e1379 100644
    --- a/kernel/watchdog.c
    +++ b/kernel/watchdog.c
    @@ -30,10 +30,8 @@
    static DEFINE_MUTEX(watchdog_mutex);

    #if defined(CONFIG_HARDLOCKUP_DETECTOR) || defined(CONFIG_HAVE_NMI_WATCHDOG)
    -# define WATCHDOG_DEFAULT (SOFT_WATCHDOG_ENABLED | NMI_WATCHDOG_ENABLED)
    # define NMI_WATCHDOG_DEFAULT 1
    #else
    -# define WATCHDOG_DEFAULT (SOFT_WATCHDOG_ENABLED)
    # define NMI_WATCHDOG_DEFAULT 0
    #endif

    --
    2.40.1.698.g37aff9b760-goog
    \
     
     \ /
      Last update: 2023-05-19 19:23    [W:2.245 / U:0.128 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site