Changeset b87f418 in mainline for arch/sparc64/include/context.h


Ignore:
Timestamp:
2005-12-07T23:00:30Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f62355a
Parents:
4acac843
Message:

Send in some improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/include/context.h

    r4acac843 rb87f418  
    3131
    3232#ifndef __sparc64_STACK_H__
    33 #include <arch/stack.h>
     33# include <arch/stack.h>
    3434#endif
    3535
     
    5050#define context_set(c, _pc, stack, size)                                                                \
    5151        (c)->pc = ((__address) _pc) - 8;                                                                \
    52         (c)->sp = ((__address) stack) + ALIGN((size), STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA);       \
     52        (c)->sp = ((__address) stack) + ALIGN_UP((size), STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA);    \
    5353        (c)->fp = -STACK_BIAS
    5454       
Note: See TracChangeset for help on using the changeset viewer.