Ignore:
Timestamp:
2010-07-14T12:38:03Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a759467
Parents:
c8cd9a8
Message:

Remove mysterious use of SP_DELTA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/proc/scheduler.c

    rc8cd9a8 r864e272  
    3838#include <proc/thread.h>
    3939#include <arch.h>
    40 #include <arch/context.h>  /* SP_DELTA */
    4140#include <arch/interrupt.h>
    4241#include <arch/pm.h>
     
    5958void before_thread_runs_arch(void)
    6059{
    61         uintptr_t kstk = (uintptr_t) &THREAD->kstack[THREAD_STACK_SIZE -
    62             SP_DELTA];
     60        uintptr_t kstk = (uintptr_t) &THREAD->kstack[THREAD_STACK_SIZE];
    6361       
    6462        if (CPU->arch.fi.bits.sep) {
Note: See TracChangeset for help on using the changeset viewer.