Changeset 76d0981d in mainline for kernel/arch/mips32/src/mips32.c


Ignore:
Timestamp:
2018-04-12T12:57:20Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bacee1
Parents:
9c514be
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 18:18:43)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 12:57:20)
Message:

Use proper boolean constant in while loops.

File:
1 edited

Legend:

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

    r9c514be r76d0981d  
    4242#include <mem.h>
    4343#include <userspace.h>
     44#include <stdbool.h>
    4445#include <syscall/syscall.h>
    4546#include <sysinfo/sysinfo.h>
     
    172173            (uintptr_t) kernel_uarg->uspace_entry);
    173174
    174         while (1)
     175        while (true)
    175176                ;
    176177}
     
    195196{
    196197        ___halt();
    197         while (1)
     198        while (true)
    198199                ;
    199200}
Note: See TracChangeset for help on using the changeset viewer.