aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-01-30 07:31:17 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:17 -0500
commit75604d7f7f1ee93e4d19d9e19f4497b7ed842f2a (patch)
treeca8f9af34d70e237b78ca47c225fbbbbe1a64fac
parent56c4da454de1264e381256f658f61b9ef690dd21 (diff)
x86: remove all definitions with fastcall
fastcall is always defined to be empty, remove it from arch/x86 Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/kernel/apic_32.c2
-rw-r--r--arch/x86/kernel/cpu/mcheck/k7.c2
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce.h2
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce_32.c4
-rw-r--r--arch/x86/kernel/cpu/mcheck/p4.c4
-rw-r--r--arch/x86/kernel/cpu/mcheck/p5.c2
-rw-r--r--arch/x86/kernel/cpu/mcheck/p6.c2
-rw-r--r--arch/x86/kernel/cpu/mcheck/winchip.c2
-rw-r--r--arch/x86/kernel/io_apic_32.c2
-rw-r--r--arch/x86/kernel/irq_32.c2
-rw-r--r--arch/x86/kernel/kprobes_32.c2
-rw-r--r--arch/x86/kernel/process_32.c2
-rw-r--r--arch/x86/kernel/signal_32.c2
-rw-r--r--arch/x86/kernel/smp_32.c8
-rw-r--r--arch/x86/kernel/traps_32.c24
-rw-r--r--arch/x86/kernel/vm86_32.c3
-rw-r--r--arch/x86/mach-voyager/voyager_smp.c20
-rw-r--r--arch/x86/mm/fault_32.c5
-rw-r--r--arch/x86/xen/events.c2
19 files changed, 45 insertions, 47 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 1ee443a8e61b..69a13d127da3 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -578,7 +578,7 @@ static void local_apic_timer_interrupt(void)
578 * interrupt as well. Thus we cannot inline the local irq ... ] 578 * interrupt as well. Thus we cannot inline the local irq ... ]
579 */ 579 */
580 580
581void fastcall smp_apic_timer_interrupt(struct pt_regs *regs) 581void smp_apic_timer_interrupt(struct pt_regs *regs)
582{ 582{
583 struct pt_regs *old_regs = set_irq_regs(regs); 583 struct pt_regs *old_regs = set_irq_regs(regs);
584 584
diff --git a/arch/x86/kernel/cpu/mcheck/k7.c b/arch/x86/kernel/cpu/mcheck/k7.c
index eef63e3630c2..39fa76fd3851 100644
--- a/arch/x86/kernel/cpu/mcheck/k7.c
+++ b/arch/x86/kernel/cpu/mcheck/k7.c
@@ -16,7 +16,7 @@
16#include "mce.h" 16#include "mce.h"
17 17
18/* Machine Check Handler For AMD Athlon/Duron */ 18/* Machine Check Handler For AMD Athlon/Duron */
19static fastcall void k7_machine_check(struct pt_regs * regs, long error_code) 19static void k7_machine_check(struct pt_regs * regs, long error_code)
20{ 20{
21 int recover=1; 21 int recover=1;
22 u32 alow, ahigh, high, low; 22 u32 alow, ahigh, high, low;
diff --git a/arch/x86/kernel/cpu/mcheck/mce.h b/arch/x86/kernel/cpu/mcheck/mce.h
index 81fb6e2d35f3..ae9f628838f1 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.h
+++ b/arch/x86/kernel/cpu/mcheck/mce.h
@@ -8,7 +8,7 @@ void intel_p6_mcheck_init(struct cpuinfo_x86 *c);
8void winchip_mcheck_init(struct cpuinfo_x86 *c); 8void winchip_mcheck_init(struct cpuinfo_x86 *c);
9 9
10/* Call the installed machine check handler for this CPU setup. */ 10/* Call the installed machine check handler for this CPU setup. */
11extern fastcall void (*machine_check_vector)(struct pt_regs *, long error_code); 11extern void (*machine_check_vector)(struct pt_regs *, long error_code);
12 12
13extern int nr_mce_banks; 13extern int nr_mce_banks;
14 14
diff --git a/arch/x86/kernel/cpu/mcheck/mce_32.c b/arch/x86/kernel/cpu/mcheck/mce_32.c
index 34c781eddee4..a5182dcd94ae 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_32.c
+++ b/arch/x86/kernel/cpu/mcheck/mce_32.c
@@ -22,13 +22,13 @@ int nr_mce_banks;
22EXPORT_SYMBOL_GPL(nr_mce_banks); /* non-fatal.o */ 22EXPORT_SYMBOL_GPL(nr_mce_banks); /* non-fatal.o */
23 23
24/* Handle unconfigured int18 (should never happen) */ 24/* Handle unconfigured int18 (should never happen) */
25static fastcall void unexpected_machine_check(struct pt_regs * regs, long error_code) 25static void unexpected_machine_check(struct pt_regs * regs, long error_code)
26{ 26{
27 printk(KERN_ERR "CPU#%d: Unexpected int18 (Machine Check).\n", smp_processor_id()); 27 printk(KERN_ERR "CPU#%d: Unexpected int18 (Machine Check).\n", smp_processor_id());
28} 28}
29 29
30/* Call the installed machine check handler for this CPU setup. */ 30/* Call the installed machine check handler for this CPU setup. */
31void fastcall (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check; 31void (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check;
32 32
33/* This has to be run for each processor */ 33/* This has to be run for each processor */
34void mcheck_init(struct cpuinfo_x86 *c) 34void mcheck_init(struct cpuinfo_x86 *c)
diff --git a/arch/x86/kernel/cpu/mcheck/p4.c b/arch/x86/kernel/cpu/mcheck/p4.c
index be4dabfee1f5..16a6238dbc2a 100644
--- a/arch/x86/kernel/cpu/mcheck/p4.c
+++ b/arch/x86/kernel/cpu/mcheck/p4.c
@@ -57,7 +57,7 @@ static void intel_thermal_interrupt(struct pt_regs *regs)
57/* Thermal interrupt handler for this CPU setup */ 57/* Thermal interrupt handler for this CPU setup */
58static void (*vendor_thermal_interrupt)(struct pt_regs *regs) = unexpected_thermal_interrupt; 58static void (*vendor_thermal_interrupt)(struct pt_regs *regs) = unexpected_thermal_interrupt;
59 59
60fastcall void smp_thermal_interrupt(struct pt_regs *regs) 60void smp_thermal_interrupt(struct pt_regs *regs)
61{ 61{
62 irq_enter(); 62 irq_enter();
63 vendor_thermal_interrupt(regs); 63 vendor_thermal_interrupt(regs);
@@ -141,7 +141,7 @@ static inline void intel_get_extended_msrs(struct intel_mce_extended_msrs *r)
141 rdmsr (MSR_IA32_MCG_EIP, r->eip, h); 141 rdmsr (MSR_IA32_MCG_EIP, r->eip, h);
142} 142}
143 143
144static fastcall void intel_machine_check(struct pt_regs * regs, long error_code) 144static void intel_machine_check(struct pt_regs * regs, long error_code)
145{ 145{
146 int recover=1; 146 int recover=1;
147 u32 alow, ahigh, high, low; 147 u32 alow, ahigh, high, low;
diff --git a/arch/x86/kernel/cpu/mcheck/p5.c b/arch/x86/kernel/cpu/mcheck/p5.c
index 94bc43d950cf..a18310aaae0c 100644
--- a/arch/x86/kernel/cpu/mcheck/p5.c
+++ b/arch/x86/kernel/cpu/mcheck/p5.c
@@ -16,7 +16,7 @@
16#include "mce.h" 16#include "mce.h"
17 17
18/* Machine check handler for Pentium class Intel */ 18/* Machine check handler for Pentium class Intel */
19static fastcall void pentium_machine_check(struct pt_regs * regs, long error_code) 19static void pentium_machine_check(struct pt_regs * regs, long error_code)
20{ 20{
21 u32 loaddr, hi, lotype; 21 u32 loaddr, hi, lotype;
22 rdmsr(MSR_IA32_P5_MC_ADDR, loaddr, hi); 22 rdmsr(MSR_IA32_P5_MC_ADDR, loaddr, hi);
diff --git a/arch/x86/kernel/cpu/mcheck/p6.c b/arch/x86/kernel/cpu/mcheck/p6.c
index deeae42ce199..cb3829e07987 100644
--- a/arch/x86/kernel/cpu/mcheck/p6.c
+++ b/arch/x86/kernel/cpu/mcheck/p6.c
@@ -16,7 +16,7 @@
16#include "mce.h" 16#include "mce.h"
17 17
18/* Machine Check Handler For PII/PIII */ 18/* Machine Check Handler For PII/PIII */
19static fastcall void intel_machine_check(struct pt_regs * regs, long error_code) 19static void intel_machine_check(struct pt_regs * regs, long error_code)
20{ 20{
21 int recover=1; 21 int recover=1;
22 u32 alow, ahigh, high, low; 22 u32 alow, ahigh, high, low;
diff --git a/arch/x86/kernel/cpu/mcheck/winchip.c b/arch/x86/kernel/cpu/mcheck/winchip.c
index 9e424b6c293d..3d428d5afc52 100644
--- a/arch/x86/kernel/cpu/mcheck/winchip.c
+++ b/arch/x86/kernel/cpu/mcheck/winchip.c
@@ -15,7 +15,7 @@
15#include "mce.h" 15#include "mce.h"
16 16
17/* Machine check handler for WinChip C6 */ 17/* Machine check handler for WinChip C6 */
18static fastcall void winchip_machine_check(struct pt_regs * regs, long error_code) 18static void winchip_machine_check(struct pt_regs * regs, long error_code)
19{ 19{
20 printk(KERN_EMERG "CPU0: Machine Check Exception.\n"); 20 printk(KERN_EMERG "CPU0: Machine Check Exception.\n");
21 add_taint(TAINT_MACHINE_CHECK); 21 add_taint(TAINT_MACHINE_CHECK);
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c
index 75bf8dc77650..76f11c3e3906 100644
--- a/arch/x86/kernel/io_apic_32.c
+++ b/arch/x86/kernel/io_apic_32.c
@@ -725,7 +725,7 @@ late_initcall(balanced_irq_init);
725#endif /* CONFIG_SMP */ 725#endif /* CONFIG_SMP */
726 726
727#ifndef CONFIG_SMP 727#ifndef CONFIG_SMP
728void fastcall send_IPI_self(int vector) 728void send_IPI_self(int vector)
729{ 729{
730 unsigned int cfg; 730 unsigned int cfg;
731 731
diff --git a/arch/x86/kernel/irq_32.c b/arch/x86/kernel/irq_32.c
index b49616bcc16b..cef054b09d27 100644
--- a/arch/x86/kernel/irq_32.c
+++ b/arch/x86/kernel/irq_32.c
@@ -66,7 +66,7 @@ static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly;
66 * SMP cross-CPU interrupts have their own specific 66 * SMP cross-CPU interrupts have their own specific
67 * handlers). 67 * handlers).
68 */ 68 */
69fastcall unsigned int do_IRQ(struct pt_regs *regs) 69unsigned int do_IRQ(struct pt_regs *regs)
70{ 70{
71 struct pt_regs *old_regs; 71 struct pt_regs *old_regs;
72 /* high bit used in ret_from_ code */ 72 /* high bit used in ret_from_ code */
diff --git a/arch/x86/kernel/kprobes_32.c b/arch/x86/kernel/kprobes_32.c
index d708cd4f956f..8eccd2d04709 100644
--- a/arch/x86/kernel/kprobes_32.c
+++ b/arch/x86/kernel/kprobes_32.c
@@ -403,7 +403,7 @@ no_kprobe:
403/* 403/*
404 * Called from kretprobe_trampoline 404 * Called from kretprobe_trampoline
405 */ 405 */
406fastcall void *__kprobes trampoline_handler(struct pt_regs *regs) 406void *__kprobes trampoline_handler(struct pt_regs *regs)
407{ 407{
408 struct kretprobe_instance *ri = NULL; 408 struct kretprobe_instance *ri = NULL;
409 struct hlist_head *head, empty_rp; 409 struct hlist_head *head, empty_rp;
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 2b9db9371060..48e92e3758c2 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -716,7 +716,7 @@ __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
716 * the task-switch, and shows up in ret_from_fork in entry.S, 716 * the task-switch, and shows up in ret_from_fork in entry.S,
717 * for example. 717 * for example.
718 */ 718 */
719struct task_struct fastcall * __switch_to(struct task_struct *prev_p, struct task_struct *next_p) 719struct task_struct * __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
720{ 720{
721 struct thread_struct *prev = &prev_p->thread, 721 struct thread_struct *prev = &prev_p->thread,
722 *next = &next_p->thread; 722 *next = &next_p->thread;
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c
index 2bf5c9aed106..74df55895c8c 100644
--- a/arch/x86/kernel/signal_32.c
+++ b/arch/x86/kernel/signal_32.c
@@ -575,7 +575,7 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka,
575 * want to handle. Thus you cannot kill init even with a SIGKILL even by 575 * want to handle. Thus you cannot kill init even with a SIGKILL even by
576 * mistake. 576 * mistake.
577 */ 577 */
578static void fastcall do_signal(struct pt_regs *regs) 578static void do_signal(struct pt_regs *regs)
579{ 579{
580 siginfo_t info; 580 siginfo_t info;
581 int signr; 581 int signr;
diff --git a/arch/x86/kernel/smp_32.c b/arch/x86/kernel/smp_32.c
index d4c01a4aca60..070816ac79e1 100644
--- a/arch/x86/kernel/smp_32.c
+++ b/arch/x86/kernel/smp_32.c
@@ -159,7 +159,7 @@ void __send_IPI_shortcut(unsigned int shortcut, int vector)
159 apic_write_around(APIC_ICR, cfg); 159 apic_write_around(APIC_ICR, cfg);
160} 160}
161 161
162void fastcall send_IPI_self(int vector) 162void send_IPI_self(int vector)
163{ 163{
164 __send_IPI_shortcut(APIC_DEST_SELF, vector); 164 __send_IPI_shortcut(APIC_DEST_SELF, vector);
165} 165}
@@ -310,7 +310,7 @@ void leave_mm(unsigned long cpu)
310 * 2) Leave the mm if we are in the lazy tlb mode. 310 * 2) Leave the mm if we are in the lazy tlb mode.
311 */ 311 */
312 312
313fastcall void smp_invalidate_interrupt(struct pt_regs *regs) 313void smp_invalidate_interrupt(struct pt_regs *regs)
314{ 314{
315 unsigned long cpu; 315 unsigned long cpu;
316 316
@@ -638,13 +638,13 @@ static void native_smp_send_stop(void)
638 * all the work is done automatically when 638 * all the work is done automatically when
639 * we return from the interrupt. 639 * we return from the interrupt.
640 */ 640 */
641fastcall void smp_reschedule_interrupt(struct pt_regs *regs) 641void smp_reschedule_interrupt(struct pt_regs *regs)
642{ 642{
643 ack_APIC_irq(); 643 ack_APIC_irq();
644 __get_cpu_var(irq_stat).irq_resched_count++; 644 __get_cpu_var(irq_stat).irq_resched_count++;
645} 645}
646 646
647fastcall void smp_call_function_interrupt(struct pt_regs *regs) 647void smp_call_function_interrupt(struct pt_regs *regs)
648{ 648{
649 void (*func) (void *info) = call_data->func; 649 void (*func) (void *info) = call_data->func;
650 void *info = call_data->info; 650 void *info = call_data->info;
diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c
index 3065b3f41928..2eb6ca0ef672 100644
--- a/arch/x86/kernel/traps_32.c
+++ b/arch/x86/kernel/traps_32.c
@@ -501,7 +501,7 @@ static void __kprobes do_trap(int trapnr, int signr, char *str, int vm86,
501} 501}
502 502
503#define DO_ERROR(trapnr, signr, str, name) \ 503#define DO_ERROR(trapnr, signr, str, name) \
504fastcall void do_##name(struct pt_regs * regs, long error_code) \ 504void do_##name(struct pt_regs * regs, long error_code) \
505{ \ 505{ \
506 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ 506 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
507 == NOTIFY_STOP) \ 507 == NOTIFY_STOP) \
@@ -510,7 +510,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \
510} 510}
511 511
512#define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr, irq) \ 512#define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr, irq) \
513fastcall void do_##name(struct pt_regs * regs, long error_code) \ 513void do_##name(struct pt_regs * regs, long error_code) \
514{ \ 514{ \
515 siginfo_t info; \ 515 siginfo_t info; \
516 if (irq) \ 516 if (irq) \
@@ -526,7 +526,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \
526} 526}
527 527
528#define DO_VM86_ERROR(trapnr, signr, str, name) \ 528#define DO_VM86_ERROR(trapnr, signr, str, name) \
529fastcall void do_##name(struct pt_regs * regs, long error_code) \ 529void do_##name(struct pt_regs * regs, long error_code) \
530{ \ 530{ \
531 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ 531 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
532 == NOTIFY_STOP) \ 532 == NOTIFY_STOP) \
@@ -535,7 +535,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \
535} 535}
536 536
537#define DO_VM86_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ 537#define DO_VM86_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \
538fastcall void do_##name(struct pt_regs * regs, long error_code) \ 538void do_##name(struct pt_regs * regs, long error_code) \
539{ \ 539{ \
540 siginfo_t info; \ 540 siginfo_t info; \
541 info.si_signo = signr; \ 541 info.si_signo = signr; \
@@ -563,7 +563,7 @@ DO_ERROR(12, SIGBUS, "stack segment", stack_segment)
563DO_ERROR_INFO(17, SIGBUS, "alignment check", alignment_check, BUS_ADRALN, 0, 0) 563DO_ERROR_INFO(17, SIGBUS, "alignment check", alignment_check, BUS_ADRALN, 0, 0)
564DO_ERROR_INFO(32, SIGSEGV, "iret exception", iret_error, ILL_BADSTK, 0, 1) 564DO_ERROR_INFO(32, SIGSEGV, "iret exception", iret_error, ILL_BADSTK, 0, 1)
565 565
566fastcall void __kprobes do_general_protection(struct pt_regs * regs, 566void __kprobes do_general_protection(struct pt_regs * regs,
567 long error_code) 567 long error_code)
568{ 568{
569 int cpu = get_cpu(); 569 int cpu = get_cpu();
@@ -764,7 +764,7 @@ static __kprobes void default_do_nmi(struct pt_regs * regs)
764 764
765static int ignore_nmis; 765static int ignore_nmis;
766 766
767fastcall __kprobes void do_nmi(struct pt_regs * regs, long error_code) 767__kprobes void do_nmi(struct pt_regs * regs, long error_code)
768{ 768{
769 int cpu; 769 int cpu;
770 770
@@ -793,7 +793,7 @@ void restart_nmi(void)
793} 793}
794 794
795#ifdef CONFIG_KPROBES 795#ifdef CONFIG_KPROBES
796fastcall void __kprobes do_int3(struct pt_regs *regs, long error_code) 796void __kprobes do_int3(struct pt_regs *regs, long error_code)
797{ 797{
798 trace_hardirqs_fixup(); 798 trace_hardirqs_fixup();
799 799
@@ -829,7 +829,7 @@ fastcall void __kprobes do_int3(struct pt_regs *regs, long error_code)
829 * find every occurrence of the TF bit that could be saved away even 829 * find every occurrence of the TF bit that could be saved away even
830 * by user code) 830 * by user code)
831 */ 831 */
832fastcall void __kprobes do_debug(struct pt_regs * regs, long error_code) 832void __kprobes do_debug(struct pt_regs * regs, long error_code)
833{ 833{
834 unsigned int condition; 834 unsigned int condition;
835 struct task_struct *tsk = current; 835 struct task_struct *tsk = current;
@@ -961,7 +961,7 @@ void math_error(void __user *ip)
961 force_sig_info(SIGFPE, &info, task); 961 force_sig_info(SIGFPE, &info, task);
962} 962}
963 963
964fastcall void do_coprocessor_error(struct pt_regs * regs, long error_code) 964void do_coprocessor_error(struct pt_regs * regs, long error_code)
965{ 965{
966 ignore_fpu_irq = 1; 966 ignore_fpu_irq = 1;
967 math_error((void __user *)regs->ip); 967 math_error((void __user *)regs->ip);
@@ -1015,7 +1015,7 @@ static void simd_math_error(void __user *ip)
1015 force_sig_info(SIGFPE, &info, task); 1015 force_sig_info(SIGFPE, &info, task);
1016} 1016}
1017 1017
1018fastcall void do_simd_coprocessor_error(struct pt_regs * regs, 1018void do_simd_coprocessor_error(struct pt_regs * regs,
1019 long error_code) 1019 long error_code)
1020{ 1020{
1021 if (cpu_has_xmm) { 1021 if (cpu_has_xmm) {
@@ -1039,7 +1039,7 @@ fastcall void do_simd_coprocessor_error(struct pt_regs * regs,
1039 } 1039 }
1040} 1040}
1041 1041
1042fastcall void do_spurious_interrupt_bug(struct pt_regs * regs, 1042void do_spurious_interrupt_bug(struct pt_regs * regs,
1043 long error_code) 1043 long error_code)
1044{ 1044{
1045#if 0 1045#if 0
@@ -1048,7 +1048,7 @@ fastcall void do_spurious_interrupt_bug(struct pt_regs * regs,
1048#endif 1048#endif
1049} 1049}
1050 1050
1051fastcall unsigned long patch_espfix_desc(unsigned long uesp, 1051unsigned long patch_espfix_desc(unsigned long uesp,
1052 unsigned long kesp) 1052 unsigned long kesp)
1053{ 1053{
1054 struct desc_struct *gdt = __get_cpu_var(gdt_page).gdt; 1054 struct desc_struct *gdt = __get_cpu_var(gdt_page).gdt;
diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c
index 5aa5e2f9f0ad..c9f67effbc42 100644
--- a/arch/x86/kernel/vm86_32.c
+++ b/arch/x86/kernel/vm86_32.c
@@ -120,8 +120,7 @@ static int copy_vm86_regs_from_user(struct kernel_vm86_regs *regs,
120 return ret; 120 return ret;
121} 121}
122 122
123struct pt_regs * save_v86_state(struct kernel_vm86_regs * regs); 123struct pt_regs * save_v86_state(struct kernel_vm86_regs * regs)
124struct pt_regs * fastcall save_v86_state(struct kernel_vm86_regs * regs)
125{ 124{
126 struct tss_struct *tss; 125 struct tss_struct *tss;
127 struct pt_regs *ret; 126 struct pt_regs *ret;
diff --git a/arch/x86/mach-voyager/voyager_smp.c b/arch/x86/mach-voyager/voyager_smp.c
index f2c13482acc0..751777241881 100644
--- a/arch/x86/mach-voyager/voyager_smp.c
+++ b/arch/x86/mach-voyager/voyager_smp.c
@@ -755,7 +755,7 @@ void __init initialize_secondary(void)
755 * System interrupts occur because some problem was detected on the 755 * System interrupts occur because some problem was detected on the
756 * various busses. To find out what you have to probe all the 756 * various busses. To find out what you have to probe all the
757 * hardware via the CAT bus. FIXME: At the moment we do nothing. */ 757 * hardware via the CAT bus. FIXME: At the moment we do nothing. */
758fastcall void smp_vic_sys_interrupt(struct pt_regs *regs) 758void smp_vic_sys_interrupt(struct pt_regs *regs)
759{ 759{
760 ack_CPI(VIC_SYS_INT); 760 ack_CPI(VIC_SYS_INT);
761 printk("Voyager SYSTEM INTERRUPT\n"); 761 printk("Voyager SYSTEM INTERRUPT\n");
@@ -764,7 +764,7 @@ fastcall void smp_vic_sys_interrupt(struct pt_regs *regs)
764/* Handle a voyager CMN_INT; These interrupts occur either because of 764/* Handle a voyager CMN_INT; These interrupts occur either because of
765 * a system status change or because a single bit memory error 765 * a system status change or because a single bit memory error
766 * occurred. FIXME: At the moment, ignore all this. */ 766 * occurred. FIXME: At the moment, ignore all this. */
767fastcall void smp_vic_cmn_interrupt(struct pt_regs *regs) 767void smp_vic_cmn_interrupt(struct pt_regs *regs)
768{ 768{
769 static __u8 in_cmn_int = 0; 769 static __u8 in_cmn_int = 0;
770 static DEFINE_SPINLOCK(cmn_int_lock); 770 static DEFINE_SPINLOCK(cmn_int_lock);
@@ -1086,7 +1086,7 @@ voyager_smp_call_function_mask(cpumask_t cpumask,
1086 * no local APIC, so I can't do this 1086 * no local APIC, so I can't do this
1087 * 1087 *
1088 * This function is currently a placeholder and is unused in the code */ 1088 * This function is currently a placeholder and is unused in the code */
1089fastcall void smp_apic_timer_interrupt(struct pt_regs *regs) 1089void smp_apic_timer_interrupt(struct pt_regs *regs)
1090{ 1090{
1091 struct pt_regs *old_regs = set_irq_regs(regs); 1091 struct pt_regs *old_regs = set_irq_regs(regs);
1092 wrapper_smp_local_timer_interrupt(); 1092 wrapper_smp_local_timer_interrupt();
@@ -1094,7 +1094,7 @@ fastcall void smp_apic_timer_interrupt(struct pt_regs *regs)
1094} 1094}
1095 1095
1096/* All of the QUAD interrupt GATES */ 1096/* All of the QUAD interrupt GATES */
1097fastcall void smp_qic_timer_interrupt(struct pt_regs *regs) 1097void smp_qic_timer_interrupt(struct pt_regs *regs)
1098{ 1098{
1099 struct pt_regs *old_regs = set_irq_regs(regs); 1099 struct pt_regs *old_regs = set_irq_regs(regs);
1100 ack_QIC_CPI(QIC_TIMER_CPI); 1100 ack_QIC_CPI(QIC_TIMER_CPI);
@@ -1102,31 +1102,31 @@ fastcall void smp_qic_timer_interrupt(struct pt_regs *regs)
1102 set_irq_regs(old_regs); 1102 set_irq_regs(old_regs);
1103} 1103}
1104 1104
1105fastcall void smp_qic_invalidate_interrupt(struct pt_regs *regs) 1105void smp_qic_invalidate_interrupt(struct pt_regs *regs)
1106{ 1106{
1107 ack_QIC_CPI(QIC_INVALIDATE_CPI); 1107 ack_QIC_CPI(QIC_INVALIDATE_CPI);
1108 smp_invalidate_interrupt(); 1108 smp_invalidate_interrupt();
1109} 1109}
1110 1110
1111fastcall void smp_qic_reschedule_interrupt(struct pt_regs *regs) 1111void smp_qic_reschedule_interrupt(struct pt_regs *regs)
1112{ 1112{
1113 ack_QIC_CPI(QIC_RESCHEDULE_CPI); 1113 ack_QIC_CPI(QIC_RESCHEDULE_CPI);
1114 smp_reschedule_interrupt(); 1114 smp_reschedule_interrupt();
1115} 1115}
1116 1116
1117fastcall void smp_qic_enable_irq_interrupt(struct pt_regs *regs) 1117void smp_qic_enable_irq_interrupt(struct pt_regs *regs)
1118{ 1118{
1119 ack_QIC_CPI(QIC_ENABLE_IRQ_CPI); 1119 ack_QIC_CPI(QIC_ENABLE_IRQ_CPI);
1120 smp_enable_irq_interrupt(); 1120 smp_enable_irq_interrupt();
1121} 1121}
1122 1122
1123fastcall void smp_qic_call_function_interrupt(struct pt_regs *regs) 1123void smp_qic_call_function_interrupt(struct pt_regs *regs)
1124{ 1124{
1125 ack_QIC_CPI(QIC_CALL_FUNCTION_CPI); 1125 ack_QIC_CPI(QIC_CALL_FUNCTION_CPI);
1126 smp_call_function_interrupt(); 1126 smp_call_function_interrupt();
1127} 1127}
1128 1128
1129fastcall void smp_vic_cpi_interrupt(struct pt_regs *regs) 1129void smp_vic_cpi_interrupt(struct pt_regs *regs)
1130{ 1130{
1131 struct pt_regs *old_regs = set_irq_regs(regs); 1131 struct pt_regs *old_regs = set_irq_regs(regs);
1132 __u8 cpu = smp_processor_id(); 1132 __u8 cpu = smp_processor_id();
@@ -1333,7 +1333,7 @@ int setup_profiling_timer(unsigned int multiplier)
1333/* This is a bit of a mess, but forced on us by the genirq changes 1333/* This is a bit of a mess, but forced on us by the genirq changes
1334 * there's no genirq handler that really does what voyager wants 1334 * there's no genirq handler that really does what voyager wants
1335 * so hack it up with the simple IRQ handler */ 1335 * so hack it up with the simple IRQ handler */
1336static void fastcall handle_vic_irq(unsigned int irq, struct irq_desc *desc) 1336static void handle_vic_irq(unsigned int irq, struct irq_desc *desc)
1337{ 1337{
1338 before_handle_vic_irq(irq); 1338 before_handle_vic_irq(irq);
1339 handle_simple_irq(irq, desc); 1339 handle_simple_irq(irq, desc);
diff --git a/arch/x86/mm/fault_32.c b/arch/x86/mm/fault_32.c
index ef5ab2b925c4..8aed912b04ec 100644
--- a/arch/x86/mm/fault_32.c
+++ b/arch/x86/mm/fault_32.c
@@ -214,7 +214,7 @@ static noinline void force_sig_info_fault(int si_signo, int si_code,
214 force_sig_info(si_signo, &info, tsk); 214 force_sig_info(si_signo, &info, tsk);
215} 215}
216 216
217fastcall void do_invalid_op(struct pt_regs *, unsigned long); 217void do_invalid_op(struct pt_regs *, unsigned long);
218 218
219static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) 219static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address)
220{ 220{
@@ -293,8 +293,7 @@ int show_unhandled_signals = 1;
293 * bit 3 == 1 means use of reserved bit detected 293 * bit 3 == 1 means use of reserved bit detected
294 * bit 4 == 1 means fault was an instruction fetch 294 * bit 4 == 1 means fault was an instruction fetch
295 */ 295 */
296fastcall void __kprobes do_page_fault(struct pt_regs *regs, 296void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code)
297 unsigned long error_code)
298{ 297{
299 struct task_struct *tsk; 298 struct task_struct *tsk;
300 struct mm_struct *mm; 299 struct mm_struct *mm;
diff --git a/arch/x86/xen/events.c b/arch/x86/xen/events.c
index aebab9704dd7..dcf613e17581 100644
--- a/arch/x86/xen/events.c
+++ b/arch/x86/xen/events.c
@@ -465,7 +465,7 @@ void xen_send_IPI_one(unsigned int cpu, enum ipi_vector vector)
465 * a bitset of words which contain pending event bits. The second 465 * a bitset of words which contain pending event bits. The second
466 * level is a bitset of pending events themselves. 466 * level is a bitset of pending events themselves.
467 */ 467 */
468fastcall void xen_evtchn_do_upcall(struct pt_regs *regs) 468void xen_evtchn_do_upcall(struct pt_regs *regs)
469{ 469{
470 int cpu = get_cpu(); 470 int cpu = get_cpu();
471 struct shared_info *s = HYPERVISOR_shared_info; 471 struct shared_info *s = HYPERVISOR_shared_info;