Changeset 10765


Ignore:
Timestamp:
Sep 15, 2008, 11:27:43 PM (11 years ago)
Author:
gb
Message:

In linux x8632 version of setup_tcr_extra_segment(), segment
limit is sizeof the type TCR (e.g., a few 100 bytes), not
sizeof the variable named tcr ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/thread_manager.c

    r10727 r10765  
    922922  u.entry_number = i;
    923923  u.base_addr = (uint32_t)tcr;
    924   u.limit = sizeof(tcr);
     924  u.limit = sizeof(TCR);
    925925  u.limit_in_pages = 0;
    926926  if (modify_ldt(1,&u,sizeof(struct user_desc)) != 0) {
Note: See TracChangeset for help on using the changeset viewer.