Changeset ea63704 in mainline


Ignore:
Timestamp:
2007-04-25T11:08:23Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
07bd231e
Parents:
4b662f8c
Message:

Formatting and indentation fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/scheduler.c

    r4b662f8c rea63704  
    208208        interrupts_disable();
    209209       
    210         for (i = 0; i<RQ_COUNT; i++) {
     210        for (i = 0; i < RQ_COUNT; i++) {
    211211                r = &CPU->rq[i];
    212212                spinlock_lock(&r->lock);
     
    452452                         */
    453453                        panic("tid%llu: unexpected state %s\n", THREAD->tid,
    454                                 thread_states[THREAD->state]);
     454                            thread_states[THREAD->state]);
    455455                        break;
    456456                }
     
    572572         * queues on all CPU's last.
    573573         */
    574         for (j= RQ_COUNT - 1; j >= 0; j--) {
     574        for (j = RQ_COUNT - 1; j >= 0; j--) {
    575575                for (i = 0; i < config.cpu_active; i++) {
    576576                        link_t *l;
     
    613613                                spinlock_lock(&t->lock);
    614614                                if ((!(t->flags & (THREAD_FLAG_WIRED |
    615                                         THREAD_FLAG_STOLEN))) &&
    616                                         (!(t->fpu_context_engaged)) ) {
     615                                    THREAD_FLAG_STOLEN))) &&
     616                                    (!(t->fpu_context_engaged))) {
    617617                                        /*
    618618                                         * Remove t from r.
Note: See TracChangeset for help on using the changeset viewer.