lkml.org 
[lkml]   [2009]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC v16][PATCH 41/43] c/r: (s390): expose a constant for the number of words (CRs)
    Date
    We need to use this value in the checkpoint/restart code and would like to
    have a constant instead of a magic '3'.

    Changelog:
    Mar 30:
    . Add CHECKPOINT_SUPPORT in Kconfig (Nathan Lynch)
    Mar 03:
    . Picked up additional use of magic '3' in ptrace.h

    Signed-off-by: Dan Smith <danms@us.ibm.com>
    ---
    arch/s390/Kconfig | 4 ++++
    1 files changed, 4 insertions(+), 0 deletions(-)

    diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
    index 2eca5fe..bf62cad 100644
    --- a/arch/s390/Kconfig
    +++ b/arch/s390/Kconfig
    @@ -49,6 +49,10 @@ config GENERIC_TIME_VSYSCALL
    config GENERIC_CLOCKEVENTS
    def_bool y

    +config CHECKPOINT_SUPPORT
    + bool
    + default y if 64BIT
    +
    config GENERIC_BUG
    bool
    depends on BUG
    --
    1.6.0.4


    \
     
     \ /
      Last update: 2009-05-27 19:59    [W:0.023 / U:88.752 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site