Changeset 26aafe8 in mainline for kernel/arch/ia64/include/asm.h


Ignore:
Timestamp:
2011-05-19T16:47:49Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a6d8726
Parents:
bcaca55
Message:

cleanup the huge mess related to stacks, their sizes and locations
use two frames for kernel stacks by default on all platforms (to play it safe)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/asm.h

    rbcaca55 r26aafe8  
    131131NO_TRACE static inline uintptr_t get_stack_base(void)
    132132{
    133         uint64_t v;
     133        uint64_t value;
    134134       
    135135        /*
     
    152152        asm volatile (
    153153                "mov %[value] = r12"
    154                 : [value] "=r" (v)
    155         );
    156        
    157         return (v & (~(STACK_SIZE - 1)));
     154                : [value] "=r" (value)
     155        );
     156       
     157        return (value & (~(STACK_SIZE - 1)));
    158158}
    159159
Note: See TracChangeset for help on using the changeset viewer.