Changeset cc35e88 in mainline for arch/ppc32/include/asm.h


Ignore:
Timestamp:
2006-05-02T22:42:23Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bdc5c516
Parents:
162f919
Message:

fix nasty CR clobber bug
change coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/include/asm.h

    r162f919 rcc35e88  
    4040 * @return Old interrupt priority level.
    4141 */
    42 static inline ipl_t interrupts_enable(void) {
     42static inline ipl_t interrupts_enable(void)
     43{
    4344        ipl_t v;
    4445        ipl_t tmp;
     
    6162 * @return Old interrupt priority level.
    6263 */
    63 static inline ipl_t interrupts_disable(void) {
     64static inline ipl_t interrupts_disable(void)
     65{
    6466        ipl_t v;
    6567        ipl_t tmp;
     
    8183 * @param ipl Saved interrupt priority level.
    8284 */
    83 static inline void interrupts_restore(ipl_t ipl) {
     85static inline void interrupts_restore(ipl_t ipl)
     86{
    8487        ipl_t tmp;
    8588       
     
    9396                : "=r" (ipl), "=r" (tmp)
    9497                : "0" (ipl)
     98                : "cr0"
    9599        );
    96100}
     
    102106 * @return Current interrupt priority level.
    103107 */
    104 static inline ipl_t interrupts_read(void) {
     108static inline ipl_t interrupts_read(void)
     109{
    105110        ipl_t v;
    106111       
Note: See TracChangeset for help on using the changeset viewer.