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

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

Diff for /src/sys/arch/x86/x86/tsc.c between version 1.37 and 1.38

version 1.37, 2017/10/02 19:23:16 version 1.38, 2020/02/21 00:26:22
Line 271  tsc_sync_ap(struct cpu_info *ci)
Line 271  tsc_sync_ap(struct cpu_info *ci)
 static void  static void
 tsc_apply_cpu(void *arg1, void *arg2)  tsc_apply_cpu(void *arg1, void *arg2)
 {  {
         bool enable = (bool)arg1;          bool enable = arg1 != NULL;
         if (enable) {          if (enable) {
                 lcr4(rcr4() & ~CR4_TSD);                  lcr4(rcr4() & ~CR4_TSD);
         } else {          } else {

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

CVSweb <webmaster@jp.NetBSD.org>