lkml.org 
[lkml]   [2009]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/8] Constify struct kgdb_arch for 2.6.32-git-053fe57ac v2
    Date
    From: Emese Revfy <re.emese@gmail.com>


    Signed-off-by: Emese Revfy <re.emese@gmail.com>
    ---
    arch/arm/kernel/kgdb.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/arm/kernel/kgdb.c b/arch/arm/kernel/kgdb.c
    index ba8ccfe..2dc34dc 100644
    --- a/arch/arm/kernel/kgdb.c
    +++ b/arch/arm/kernel/kgdb.c
    @@ -190,7 +190,7 @@ void kgdb_arch_exit(void)
    * and we handle the normal undef case within the do_undefinstr
    * handler.
    */
    -struct kgdb_arch arch_kgdb_ops = {
    +const struct kgdb_arch arch_kgdb_ops = {
    #ifndef __ARMEB__
    .gdb_bpt_instr = {0xfe, 0xde, 0xff, 0xe7}
    #else /* ! __ARMEB__ */
    --
    1.6.5.3


    \
     
     \ /
      Last update: 2009-12-14 01:15    [W:0.027 / U:1.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site