X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fktime.h;h=c762954bda148fa18ab13f6d1f71aab26d2e3441;hb=f54496f55a729078e9eef90bf9e0783857a27db1;hp=81bb9c7a4eb3fec22b97ea1c2c1cd17e5baffd23;hpb=bc95f3669f5e6f63cf0b84fe4922c3c6dd4aa775;p=powerpc.git diff --git a/include/linux/ktime.h b/include/linux/ktime.h index 81bb9c7a4e..c762954bda 100644 --- a/include/linux/ktime.h +++ b/include/linux/ktime.h @@ -43,7 +43,7 @@ * plain scalar nanosecond based representation can be selected by the * config switch CONFIG_KTIME_SCALAR. */ -typedef union { +union ktime { s64 tv64; #if BITS_PER_LONG != 64 && !defined(CONFIG_KTIME_SCALAR) struct { @@ -54,7 +54,9 @@ typedef union { # endif } tv; #endif -} ktime_t; +}; + +typedef union ktime ktime_t; /* Kill this */ #define KTIME_MAX ((s64)~((u64)1 << 63)) #if (BITS_PER_LONG == 64)