Changeset e185136 in mainline


Ignore:
Timestamp:
2006-04-13T17:44:04Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ddeabc
Parents:
39cea6a
Message:

Fix wrong order of operations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/pm.c

    r39cea6a re185136  
    217217{
    218218        ptr_16_32_t cpugdtr;
    219         descriptor_t *gdt_p = (descriptor_t *) cpugdtr.base;
     219        descriptor_t *gdt_p;
    220220
    221221        gdtr_store(&cpugdtr);
     222        gdt_p = (descriptor_t *) cpugdtr.base;
    222223        gdt_setbase(&gdt_p[TLS_DES], tls);
    223224        /* Reload gdt register to update GS in CPU */
Note: See TracChangeset for help on using the changeset viewer.