mtx: add swap macros
authorAlan Cox <alan@linux.intel.com>
Sun, 26 Apr 2015 21:34:08 +0000 (22:34 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 26 Apr 2015 21:34:08 +0000 (22:34 +0100)
Kernel/platform-mtx/config.h

index c6170d6..aae61cc 100644 (file)
@@ -56,3 +56,5 @@
 #define VT_HEIGHT      24
 #define VT_RIGHT       vt_tright[curtty]
 #define VT_BOTTOM      23
+
+#define swap_map(x)    ((uint8_t *)(x))