Changeset 0b4a67a in mainline for kernel/arch/mips32/src/debugger.c


Ignore:
Timestamp:
2010-11-20T15:33:02Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e1f9b7
Parents:
a9c6b966
Message:

Use a more portable definition of NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/debugger.c

    ra9c6b966 r0b4a67a  
    247247        smc_coherence(((uint32_t *) cur->address)[1]);
    248248       
    249         cur->address = NULL;
     249        cur->address = (uintptr_t) NULL;
    250250       
    251251        irq_spinlock_unlock(&bkpoint_lock, true);
     
    289289       
    290290        for (i = 0; i < BKPOINTS_MAX; i++)
    291                 breakpoints[i].address = NULL;
     291                breakpoints[i].address = (uintptr_t) NULL;
    292292       
    293293#ifdef CONFIG_KCONSOLE
     
    417417                /* Remove one-shot breakpoint */
    418418                if ((cur->flags & BKPOINT_ONESHOT))
    419                         cur->address = NULL;
     419                        cur->address = (uintptr_t) NULL;
    420420               
    421421                /* Remove in-progress flag */
Note: See TracChangeset for help on using the changeset viewer.