public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85f6d04
)
6809: add used macro
author
Alan Cox
<alan@linux.intel.com>
Fri, 30 Jan 2015 00:22:10 +0000
(
00:22
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 30 Jan 2015 00:22:10 +0000
(
00:22
+0000)
Kernel/cpu-6809/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-6809/cpu.h
b/Kernel/cpu-6809/cpu.h
index
29cbe74
..
92be5fa
100644
(file)
--- a/
Kernel/cpu-6809/cpu.h
+++ b/
Kernel/cpu-6809/cpu.h
@@
-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")))