]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sysrq: add enable_mask in sysrq_moom_op
authorNaohiro Ooiwa <nooiwa@miraclelinux.com>
Thu, 16 Oct 2008 05:01:43 +0000 (22:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:31 +0000 (11:21 -0700)
commitb4236f81f2347096df650fb072f50d67bb6066a2
treea9b7816e5774b481da76a65f4fd8246b40719c98
parent25ddbb18aae33ad255eb9f35aacebe3af01e1e9c
sysrq: add enable_mask in sysrq_moom_op

It is written in the Documentation/sysrq.txt that oom-killer is enabled
when we set "64" in /proc/sys/kernel/sysrq:

<Documentation/sysrq.txt>

    Here is the list of possible values in /proc/sys/kernel/sysrq:
         64 - enable signalling of processes (term, kill, oom-kill)
                                                          ^^^^^^^^

but enable_mask is not set in sysrq_moom_op.

Signed-off-by: Naohiro Ooiwa <nooiwa@miraclelinux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/sysrq.c