Changeset 91a8f83 in mainline for kernel/generic/src/main/main.c


Ignore:
Timestamp:
2018-10-31T18:15:56Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
071cb36
Parents:
482f968
Message:

Rename THE/the_t to CURRENT/current_t

Because the word "THE" occurs several times in every licence
header, searching for occurences of "THE" macro is more difficult
than necessary.

While I appreciate the wit of it, using a nonconflicting word
for it is more practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/main.c

    r482f968 r91a8f83  
    213213{
    214214        /* Keep this the first thing. */
    215         the_initialize(THE);
     215        current_initialize(CURRENT);
    216216
    217217        version_print();
     
    342342
    343343        /*
    344          * The THE structure is well defined because ctx.sp is used as stack.
    345          */
    346         the_initialize(THE);
     344         * The CURRENT structure is well defined because ctx.sp is used as stack.
     345         */
     346        current_initialize(CURRENT);
    347347
    348348        ARCH_OP(pre_mm_init);
     
    356356        ARCH_OP(post_cpu_init);
    357357
    358         the_copy(THE, (the_t *) CPU->stack);
     358        current_copy(CURRENT, (current_t *) CPU->stack);
    359359
    360360        /*
Note: See TracChangeset for help on using the changeset viewer.