Fix compilation of powerpc asm-offsets.c with old gcc
[deliverable/linux.git] / arch / powerpc / kernel / asm-offsets.c
index e6e49289f7882dd11494d9208168e253f806de21..4b749c41646441b70b0216beddfeab7409a661ce 100644 (file)
@@ -313,7 +313,7 @@ int main(void)
        DEFINE(CLOCK_REALTIME, CLOCK_REALTIME);
        DEFINE(CLOCK_MONOTONIC, CLOCK_MONOTONIC);
        DEFINE(NSEC_PER_SEC, NSEC_PER_SEC);
-       DEFINE(CLOCK_REALTIME_RES, (KTIME_MONOTONIC_RES).tv64);
+       DEFINE(CLOCK_REALTIME_RES, MONOTONIC_RES_NSEC);
 
 #ifdef CONFIG_BUG
        DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry));
This page took 0.026522 seconds and 5 git commands to generate.