[NET_SCHED]: Export real timer resolution in /proc/net/psched
[powerpc.git] / net / sched / sch_api.c
index 6bc395c..047ae62 100644 (file)
@@ -1216,7 +1216,7 @@ static int psched_show(struct seq_file *seq, void *v)
 {
        seq_printf(seq, "%08x %08x %08x %08x\n",
                   (u32)NSEC_PER_USEC, (u32)PSCHED_US2NS(1),
-                  1000000, HZ);
+                  1000000, (u32)NSEC_PER_SEC/ktime_to_ns(KTIME_MONOTONIC_RES));
 
        return 0;
 }