silly little patch, but panic should be the exception, not the main line of the code. Reference: /n/atom/patch/applied2013/archhzclean Date: Fri Aug 23 14:37:58 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/src/nix/k10/archk10.c Fri Aug 23 14:37:20 2013 +++ /sys/src/nix/k10/archk10.c Fri Aug 23 14:37:20 2013 @@ -115,10 +115,10 @@ assert(m->machno == 0); k10archinit(); /* botch; call from archinit */ - if((hz = cpuidhz()) != 0) - return hz; - panic("hz 0"); - return 0; + hz = cpuidhz(); + if(hz == 0) + panic("hz 0"); + return hz; } static void