Ignore:
Timestamp:
2018-04-12T12:57:20Z (7 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/sparc64/src/sun4v/sparc64.c

    r9c514be r76d0981d  
    5151#include <userspace.h>
    5252#include <ddi/irq.h>
     53#include <stdbool.h>
    5354#include <str.h>
    5455#include <arch/drivers/niagara.h>
     
    167168
    168169        /* Not reached */
    169         while (1)
     170        while (true)
    170171                ;
    171172}
     
    174175{
    175176        // TODO
    176         while (1)
     177        while (true)
    177178                ;
    178179}
Note: See TracChangeset for help on using the changeset viewer.