Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/riscv64/include/libarch/atomic.h

    rfac0ac7 r7c3fb9b  
    5757static inline void atomic_inc(atomic_t *val)
    5858{
    59         /* On real hardware the increment has to be done
    60            as an atomic action. */
     59        /*
     60         * On real hardware the increment has to be done
     61         * as an atomic action.
     62         */
    6163
    6264        val->count++;
     
    6567static inline void atomic_dec(atomic_t *val)
    6668{
    67         /* On real hardware the decrement has to be done
    68            as an atomic action. */
     69        /*
     70         * On real hardware the decrement has to be done
     71         * as an atomic action.
     72         */
    6973
    7074        val->count++;
     
    7377static inline atomic_count_t atomic_postinc(atomic_t *val)
    7478{
    75         /* On real hardware both the storing of the previous
    76            value and the increment have to be done as a single
    77            atomic action. */
     79        /*
     80         * On real hardware both the storing of the previous
     81         * value and the increment have to be done as a single
     82         * atomic action.
     83         */
    7884
    7985        atomic_count_t prev = val->count;
     
    8591static inline atomic_count_t atomic_postdec(atomic_t *val)
    8692{
    87         /* On real hardware both the storing of the previous
    88            value and the decrement have to be done as a single
    89            atomic action. */
     93        /*
     94         * On real hardware both the storing of the previous
     95         * value and the decrement have to be done as a single
     96         * atomic action.
     97         */
    9098
    9199        atomic_count_t prev = val->count;
Note: See TracChangeset for help on using the changeset viewer.