Changeset 76d0981d in mainline for kernel/arch/ia64/src/ia64.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/ia64/src/ia64.c

    r9c514be r76d0981d  
    4040#include <arch/interrupt.h>
    4141#include <macros.h>
     42#include <stdbool.h>
    4243#include <str.h>
    4344#include <userspace.h>
     
    252253            (uintptr_t) kernel_uarg->uspace_uarg, psr.value, rsc.value);
    253254
    254         while (1);
     255        while (true);
    255256}
    256257
     
    258259{
    259260        pio_write_8((ioport8_t *)0x64, 0xfe);
    260         while (1);
     261        while (true);
    261262}
    262263
Note: See TracChangeset for help on using the changeset viewer.