From 5f83ccd9d3699228570ecca729e506a8eb47aceb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 27 Nov 2014 23:35:52 +0000 Subject: [PATCH] z80: Add bits ready for any endian fixing we have to do --- Kernel/cpu-z80/cpu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kernel/cpu-z80/cpu.h b/Kernel/cpu-z80/cpu.h index e7774d59..849bd258 100644 --- a/Kernel/cpu-z80/cpu.h +++ b/Kernel/cpu-z80/cpu.h @@ -40,4 +40,7 @@ typedef unsigned long long time_t; #define VIDEO #define DISCARD +#define cpu_to_le16(x) (x) +#define le16_to_cpu(x) (x) + #endif -- 2.34.1