68000: fix time_t split definition
authorAlan Cox <alan@linux.intel.com>
Sat, 20 May 2017 15:56:48 +0000 (16:56 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 20 May 2017 15:56:48 +0000 (16:56 +0100)
With this corrected things like "date" now work properly on M68K

Kernel/cpu-68000/cpu.h

index 2302b71..644de6b 100644 (file)
@@ -38,8 +38,8 @@ extern size_t strlen(const char *);
 typedef unsigned long clock_t;
 
 typedef struct {
-  uint32_t low;
   uint32_t high;
+  uint32_t low;
 } time_t;
 
 typedef union {            /* this structure is endian dependent */