Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 864e272 in mainline


Ignore:
Timestamp:
2010-07-14T12:38:03Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
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.