Changeset 8565a42 in mainline for uspace/lib/c/arch/riscv64


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

Location:
uspace/lib/c/arch/riscv64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/riscv64/_link.ld.in

    r3061bc1 r8565a42  
    1919        . = 0x1000 + SIZEOF_HEADERS;
    2020#endif
    21        
     21
    2222        .text : {
    2323                *(.text .text.*);
     
    2525                *(.srodata .srodata.*);
    2626        } :text
    27        
     27
    2828#ifdef LOADER
    2929        .interp : {
     
    3131        } :interp :text
    3232#endif
    33        
     33
    3434        . = . + 0x1000;
    35        
     35
    3636        .data : {
    3737                *(.data);
     
    3939                *(.data.rel*);
    4040        } :data
    41        
     41
    4242        .tdata : {
    4343                _tdata_start = .;
     
    4949                _tbss_end = .;
    5050        } :data
    51        
     51
    5252        _tls_alignment = ALIGNOF(.tdata);
    53        
     53
    5454        .sbss : {
    5555                *(.scommon);
    5656                *(.sbss);
    5757        }
    58        
     58
    5959        .bss : {
    6060                *(COMMON);
    6161                *(.bss);
    6262        } :data
    63        
     63
    6464#ifdef CONFIG_LINE_DEBUG
    6565        .comment 0 : { *(.comment); } :debug
     
    7474        .debug_str 0 : { *(.debug_str); } :debug
    7575#endif
    76        
     76
    7777        /DISCARD/ : {
    7878                *(*);
  • uspace/lib/c/arch/riscv64/include/libarch/atomic.h

    r3061bc1 r8565a42  
    5151                return true;
    5252        }
    53        
     53
    5454        return false;
    5555}
     
    5959        /* On real hardware the increment has to be done
    6060           as an atomic action. */
    61        
     61
    6262        val->count++;
    6363}
     
    6767        /* On real hardware the decrement has to be done
    6868           as an atomic action. */
    69        
     69
    7070        val->count++;
    7171}
     
    7676           value and the increment have to be done as a single
    7777           atomic action. */
    78        
     78
    7979        atomic_count_t prev = val->count;
    80        
     80
    8181        val->count++;
    8282        return prev;
     
    8888           value and the decrement have to be done as a single
    8989           atomic action. */
    90        
     90
    9191        atomic_count_t prev = val->count;
    92        
     92
    9393        val->count--;
    9494        return prev;
Note: See TracChangeset for help on using the changeset viewer.