diff options
Diffstat (limited to 'include/asm-x86_64/system.h')
-rw-r--r-- | include/asm-x86_64/system.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-x86_64/system.h b/include/asm-x86_64/system.h index 76165736e43a..8606e170a7dc 100644 --- a/include/asm-x86_64/system.h +++ b/include/asm-x86_64/system.h | |||
@@ -116,12 +116,12 @@ struct alt_instr { | |||
116 | /* | 116 | /* |
117 | * Alternative inline assembly with input. | 117 | * Alternative inline assembly with input. |
118 | * | 118 | * |
119 | * Pecularities: | 119 | * Peculiarities: |
120 | * No memory clobber here. | 120 | * No memory clobber here. |
121 | * Argument numbers start with 1. | 121 | * Argument numbers start with 1. |
122 | * Best is to use constraints that are fixed size (like (%1) ... "r") | 122 | * Best is to use constraints that are fixed size (like (%1) ... "r") |
123 | * If you use variable sized constraints like "m" or "g" in the | 123 | * If you use variable sized constraints like "m" or "g" in the |
124 | * replacement maake sure to pad to the worst case length. | 124 | * replacement make sure to pad to the worst case length. |
125 | */ | 125 | */ |
126 | #define alternative_input(oldinstr, newinstr, feature, input...) \ | 126 | #define alternative_input(oldinstr, newinstr, feature, input...) \ |
127 | asm volatile ("661:\n\t" oldinstr "\n662:\n" \ | 127 | asm volatile ("661:\n\t" oldinstr "\n662:\n" \ |
@@ -335,9 +335,6 @@ void cpu_idle_wait(void); | |||
335 | void disable_hlt(void); | 335 | void disable_hlt(void); |
336 | void enable_hlt(void); | 336 | void enable_hlt(void); |
337 | 337 | ||
338 | #define HAVE_EAT_KEY | ||
339 | void eat_key(void); | ||
340 | |||
341 | extern unsigned long arch_align_stack(unsigned long sp); | 338 | extern unsigned long arch_align_stack(unsigned long sp); |
342 | 339 | ||
343 | #endif | 340 | #endif |