Changeset 6c441cf8 in mainline for kernel/arch/ia64/src/ia64.c


Ignore:
Timestamp:
2008-02-27T11:49:17Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
56976a17
Parents:
fdb7795
Message:

code cleanup (mostly signed/unsigned)
allow extra compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/ia64.c

    rfdb7795 r6c441cf8  
    6363
    6464//#ifdef I460GX
    65         int i;
     65        unsigned int i;
     66       
    6667        init.cnt = bootinfo->taskmap.count;
    67         for(i=0;i<init.cnt;i++)
    68         {
    69             init.tasks[i].addr = ((unsigned long)bootinfo->taskmap.tasks[i].addr)|VRN_MASK;
    70             init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
     68       
     69        for (i = 0; i < init.cnt; i++) {
     70                init.tasks[i].addr = ((unsigned long) bootinfo->taskmap.tasks[i].addr) | VRN_MASK;
     71                init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
    7172        }
    7273/*
Note: See TracChangeset for help on using the changeset viewer.