--- /sys/src/9k/386/ether8139.c +++ /sys/src/9k/386/ether8139.c @@ -749,7 +749,7 @@ rtl8139match(Ether* edev, int id) if(pcigetpms(p) > 0){ pcisetpms(p, 0); - + for(i = 0; i < 6; i++) pcicfgw32(p, PciBAR0+i*4, p->mem[i].bar); pcicfgw8(p, PciINTL, p->intl); --- /sys/src/9k/386/pmcio.c +++ /sys/src/9k/386/pmcio.c @@ -36,7 +36,7 @@ enum { * section 2.16 and 3.14 */ PeK10, - + }; enum { @@ -53,7 +53,7 @@ enum { /* MSRs */ }; enum { /* HW Performance Counters Event Selector */ - + PeHo = 0x0000020000000000ull,/* Host only */ PeGo = 0x0000010000000000ull,/* Guest only */ PeEvMskH = 0x0000000f00000000ull,/* Event mask H */ @@ -232,7 +232,7 @@ pmcconfigure(void) int i, j, isrecog; isrecog = 0; - + if(memcmp(&m->cpuinfo[0][1], "AuthcAMDenti", 12) == 0){ isrecog++; cfg.ctrbase = PerfCtrbaseAmd; @@ -327,7 +327,7 @@ pmctrans(PmcCtl *p) } //PeHo|PeGo -#define PeAll (PeOS|PeUsr) +#define PeAll (PeOS|PeUsr) #define SetEvMsk(v, e) ((v)|(((e)&PeEvMskL)|(((e)<<(PeEvMsksh-8))&PeEvMskH))) #define SetUMsk(v, u) ((v)|(((u)<<8ull)&PeUnMsk)) --- /sys/src/9k/port/sysproc.c +++ /sys/src/9k/port/sysproc.c @@ -388,7 +388,7 @@ sysexec(Ar0* ar0, va_list list) /* * As the pass is made over the arguments and they are pushed onto - * the temporary stack, make a good faith copy in args for up->args. + * the temporary stack, make a good faith copy in args for up->args. */ args = smalloc(128); if(waserror()){