6809: bank names should be strings
authorAlan Cox <alan@etchedpixels.co.uk>
Wed, 12 Nov 2014 00:30:01 +0000 (00:30 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Wed, 12 Nov 2014 00:30:01 +0000 (00:30 +0000)
Kernel/cpu-6809/cpu.h

index 96f2eb3..13489f1 100644 (file)
@@ -29,11 +29,11 @@ extern size_t strlen(const char *);
 typedef unsigned long long time_t;
 
 #ifdef CONFIG_BANKED
-#define CODE1  __attribute__((far(1)))
-#define CODE2   __attribute__((far(2)))
+#define CODE1  __attribute__((far("1")))
+#define CODE2   __attribute__((far("2")))
 #define COMMON
-#define DISCARD __attribute__((far(3)))
-#define VIDEO   __attribute__((far(4)))
+#define DISCARD __attribute__((far("3")))
+#define VIDEO   __attribute__((far("4")))
 #else
 /* Bank attributes for 6809 in banked code mode */
 #define CODE1