kernel/watchdog: fix watchdog_allowed_mask not used warning
Santosh Sivaraj authored
Define watchdog_allowed_mask only when SOFTLOCKUP_DETECTOR is enabled.

Fixes: 7feeb9cd

 ("watchdog/sysctl: Clean up sysctl variable name space")
Signed-off-by: default avatarSantosh Sivaraj <santosh@fossix.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20201106015025.1281561-1-santosh@fossix.org

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
e7e04615
Name Last commit Last update
Documentation Merge tag 'devicetree-fixes-for-5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
LICENSES LICENSES/deprecated: add Zlib license text
arch Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
block blk-mq: mark flush request as IDLE in flush_end_io()
certs .gitignore: add SPDX License Identifier
crypto Merge tag 'drivers-5.10-2020-10-12' of git://git.kernel.dk/linux-block
drivers Merge tag 'devicetree-fixes-for-5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
fs Merge tag 'ext4_for_linus_bugfixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
include compiler.h: fix barrier_data() on clang
init bootconfig: Extend the magic check range to the preceding 3 bytes
ipc ipc: adjust proc_ipc_sem_dointvec definition to match prototype
kernel kernel/watchdog: fix watchdog_allowed_mask not used warning
lib Merge tag 'drm-fixes-2020-11-06-1' of git://anongit.freedesktop.org/drm/drm
mm mm/gup: use unpin_user_pages() in __gup_longterm_locked()
net Merge tag 'net-5.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
scripts Merge tag 'net-5.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
security ima: Replace zero-length array with flexible-array member
sound Merge tag 'asoc-fix-v5.10-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
tools Merge tag 'net-5.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
usr Merge branch 'work.fdpic' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
virt kvm: x86/mmu: Support dirty logging for the TDP MMU
.clang-format Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes .gitattributes: use 'dts' diff driver for dts files
.gitignore .gitignore: docs: ignore sphinx_*/ directories
.mailmap mailmap: fix entry for Dmitry Baryshkov/Eremin-Solenikov
COPYING COPYING: state that all contributions really are covered by this file
CREDITS MAINTAINERS: Move Sangbeom Kim to credits
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y
Kconfig kbuild: ensure full rebuild when the compiler is updated
MAINTAINERS Merge tag 'net-5.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Makefile Linux 5.10-rc3
README Drop all 00-INDEX files from Documentation/
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.