6809: add used macro
authorAlan Cox <alan@linux.intel.com>
Fri, 30 Jan 2015 00:22:10 +0000 (00:22 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 30 Jan 2015 00:22:10 +0000 (00:22 +0000)
Kernel/cpu-6809/cpu.h

index 29cbe74..92be5fa 100644 (file)
@@ -53,6 +53,9 @@ typedef union {            /* this structure is endian dependent */
 /* 6809 gcc already uses register calling whenever it can */
 #define __fastcall__
 
+/* Sane behaviour for unused parameters */
+#define used(x)
+
 #ifdef CONFIG_BANKED
 #define CODE1  __attribute__((far("1")))
 #define CODE2   __attribute__((far("2")))