[BACK]Return to trap.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / mips / mips

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/mips/mips/trap.c between version 1.217.12.28 and 1.217.12.29

version 1.217.12.28, 2010/08/16 18:01:13 version 1.217.12.29, 2010/08/16 23:26:28
Line 391  trap(unsigned int status, unsigned int c
Line 391  trap(unsigned int status, unsigned int c
                  * cpu's cpu_info but not other cpu's) so we need to detect                   * cpu's cpu_info but not other cpu's) so we need to detect
                  * and fix this here.                   * and fix this here.
                  */                   */
                 if (__predict_false(ci->ci_pmap_seg0tab == NULL &&                  if ((va >> 31) == 0 &&
                     ci->ci_pmap_segtab->seg_seg[0] != NULL)) {                      __predict_false(ci->ci_pmap_seg0tab == NULL
                                   && ci->ci_pmap_segtab->seg_seg[0] != NULL)) {
                         ci->ci_pmap_seg0tab = ci->ci_pmap_segtab->seg_seg[0];                          ci->ci_pmap_seg0tab = ci->ci_pmap_segtab->seg_seg[0];
                         if (type & T_USER) {                          if (type & T_USER) {
                                 userret(l);                                  userret(l);

Legend:
Removed from v.1.217.12.28  
changed lines
  Added in v.1.217.12.29

CVSweb <webmaster@jp.NetBSD.org>