lkml.org 
[lkml]   [2014]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/5] kexec: Add IND_FLAGS macro
    Date
    Add a new kexec preprocessor macro IND_FLAGS, which is the bitwise OR of
    all the possible kexec IND_ kimage_entry indirection flags.

    Having this macro allows for simplified code in the prosessing of the
    kexec kimage_entry items.

    Signed-off-by: Geoff Levand <geoff@infradead.org>
    ---
    include/linux/kexec.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/include/linux/kexec.h b/include/linux/kexec.h
    index 8c628ca..a4758f9 100644
    --- a/include/linux/kexec.h
    +++ b/include/linux/kexec.h
    @@ -10,6 +10,7 @@
    #define IND_INDIRECTION (1 << IND_INDIRECTION_BIT)
    #define IND_DONE (1 << IND_DONE_BIT)
    #define IND_SOURCE (1 << IND_SOURCE_BIT)
    +#define IND_FLAGS (IND_DESTINATION | IND_INDIRECTION | IND_DONE | IND_SOURCE)

    #if !defined(__ASSEMBLY__)

    --
    1.9.1



    \
     
     \ /
      Last update: 2014-08-22 21:01    [W:4.100 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site