提交 75604d7f 编写于 作者: H Harvey Harrison 提交者: Ingo Molnar

x86: remove all definitions with fastcall

fastcall is always defined to be empty, remove it from arch/x86
Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 56c4da45
...@@ -578,7 +578,7 @@ static void local_apic_timer_interrupt(void) ...@@ -578,7 +578,7 @@ static void local_apic_timer_interrupt(void)
* interrupt as well. Thus we cannot inline the local irq ... ] * interrupt as well. Thus we cannot inline the local irq ... ]
*/ */
void fastcall smp_apic_timer_interrupt(struct pt_regs *regs) void smp_apic_timer_interrupt(struct pt_regs *regs)
{ {
struct pt_regs *old_regs = set_irq_regs(regs); struct pt_regs *old_regs = set_irq_regs(regs);
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "mce.h" #include "mce.h"
/* Machine Check Handler For AMD Athlon/Duron */ /* Machine Check Handler For AMD Athlon/Duron */
static fastcall void k7_machine_check(struct pt_regs * regs, long error_code) static void k7_machine_check(struct pt_regs * regs, long error_code)
{ {
int recover=1; int recover=1;
u32 alow, ahigh, high, low; u32 alow, ahigh, high, low;
......
...@@ -8,7 +8,7 @@ void intel_p6_mcheck_init(struct cpuinfo_x86 *c); ...@@ -8,7 +8,7 @@ void intel_p6_mcheck_init(struct cpuinfo_x86 *c);
void winchip_mcheck_init(struct cpuinfo_x86 *c); void winchip_mcheck_init(struct cpuinfo_x86 *c);
/* Call the installed machine check handler for this CPU setup. */ /* Call the installed machine check handler for this CPU setup. */
extern fastcall void (*machine_check_vector)(struct pt_regs *, long error_code); extern void (*machine_check_vector)(struct pt_regs *, long error_code);
extern int nr_mce_banks; extern int nr_mce_banks;
...@@ -22,13 +22,13 @@ int nr_mce_banks; ...@@ -22,13 +22,13 @@ int nr_mce_banks;
EXPORT_SYMBOL_GPL(nr_mce_banks); /* non-fatal.o */ EXPORT_SYMBOL_GPL(nr_mce_banks); /* non-fatal.o */
/* Handle unconfigured int18 (should never happen) */ /* Handle unconfigured int18 (should never happen) */
static fastcall void unexpected_machine_check(struct pt_regs * regs, long error_code) static void unexpected_machine_check(struct pt_regs * regs, long error_code)
{ {
printk(KERN_ERR "CPU#%d: Unexpected int18 (Machine Check).\n", smp_processor_id()); printk(KERN_ERR "CPU#%d: Unexpected int18 (Machine Check).\n", smp_processor_id());
} }
/* Call the installed machine check handler for this CPU setup. */ /* Call the installed machine check handler for this CPU setup. */
void fastcall (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check; void (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check;
/* This has to be run for each processor */ /* This has to be run for each processor */
void mcheck_init(struct cpuinfo_x86 *c) void mcheck_init(struct cpuinfo_x86 *c)
......
...@@ -57,7 +57,7 @@ static void intel_thermal_interrupt(struct pt_regs *regs) ...@@ -57,7 +57,7 @@ static void intel_thermal_interrupt(struct pt_regs *regs)
/* Thermal interrupt handler for this CPU setup */ /* Thermal interrupt handler for this CPU setup */
static void (*vendor_thermal_interrupt)(struct pt_regs *regs) = unexpected_thermal_interrupt; static void (*vendor_thermal_interrupt)(struct pt_regs *regs) = unexpected_thermal_interrupt;
fastcall void smp_thermal_interrupt(struct pt_regs *regs) void smp_thermal_interrupt(struct pt_regs *regs)
{ {
irq_enter(); irq_enter();
vendor_thermal_interrupt(regs); vendor_thermal_interrupt(regs);
...@@ -141,7 +141,7 @@ static inline void intel_get_extended_msrs(struct intel_mce_extended_msrs *r) ...@@ -141,7 +141,7 @@ static inline void intel_get_extended_msrs(struct intel_mce_extended_msrs *r)
rdmsr (MSR_IA32_MCG_EIP, r->eip, h); rdmsr (MSR_IA32_MCG_EIP, r->eip, h);
} }
static fastcall void intel_machine_check(struct pt_regs * regs, long error_code) static void intel_machine_check(struct pt_regs * regs, long error_code)
{ {
int recover=1; int recover=1;
u32 alow, ahigh, high, low; u32 alow, ahigh, high, low;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "mce.h" #include "mce.h"
/* Machine check handler for Pentium class Intel */ /* Machine check handler for Pentium class Intel */
static fastcall void pentium_machine_check(struct pt_regs * regs, long error_code) static void pentium_machine_check(struct pt_regs * regs, long error_code)
{ {
u32 loaddr, hi, lotype; u32 loaddr, hi, lotype;
rdmsr(MSR_IA32_P5_MC_ADDR, loaddr, hi); rdmsr(MSR_IA32_P5_MC_ADDR, loaddr, hi);
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "mce.h" #include "mce.h"
/* Machine Check Handler For PII/PIII */ /* Machine Check Handler For PII/PIII */
static fastcall void intel_machine_check(struct pt_regs * regs, long error_code) static void intel_machine_check(struct pt_regs * regs, long error_code)
{ {
int recover=1; int recover=1;
u32 alow, ahigh, high, low; u32 alow, ahigh, high, low;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "mce.h" #include "mce.h"
/* Machine check handler for WinChip C6 */ /* Machine check handler for WinChip C6 */
static fastcall void winchip_machine_check(struct pt_regs * regs, long error_code) static void winchip_machine_check(struct pt_regs * regs, long error_code)
{ {
printk(KERN_EMERG "CPU0: Machine Check Exception.\n"); printk(KERN_EMERG "CPU0: Machine Check Exception.\n");
add_taint(TAINT_MACHINE_CHECK); add_taint(TAINT_MACHINE_CHECK);
......
...@@ -725,7 +725,7 @@ late_initcall(balanced_irq_init); ...@@ -725,7 +725,7 @@ late_initcall(balanced_irq_init);
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
#ifndef CONFIG_SMP #ifndef CONFIG_SMP
void fastcall send_IPI_self(int vector) void send_IPI_self(int vector)
{ {
unsigned int cfg; unsigned int cfg;
......
...@@ -66,7 +66,7 @@ static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly; ...@@ -66,7 +66,7 @@ static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly;
* SMP cross-CPU interrupts have their own specific * SMP cross-CPU interrupts have their own specific
* handlers). * handlers).
*/ */
fastcall unsigned int do_IRQ(struct pt_regs *regs) unsigned int do_IRQ(struct pt_regs *regs)
{ {
struct pt_regs *old_regs; struct pt_regs *old_regs;
/* high bit used in ret_from_ code */ /* high bit used in ret_from_ code */
......
...@@ -403,7 +403,7 @@ static int __kprobes kprobe_handler(struct pt_regs *regs) ...@@ -403,7 +403,7 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
/* /*
* Called from kretprobe_trampoline * Called from kretprobe_trampoline
*/ */
fastcall void *__kprobes trampoline_handler(struct pt_regs *regs) void *__kprobes trampoline_handler(struct pt_regs *regs)
{ {
struct kretprobe_instance *ri = NULL; struct kretprobe_instance *ri = NULL;
struct hlist_head *head, empty_rp; struct hlist_head *head, empty_rp;
......
...@@ -716,7 +716,7 @@ __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p, ...@@ -716,7 +716,7 @@ __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
* the task-switch, and shows up in ret_from_fork in entry.S, * the task-switch, and shows up in ret_from_fork in entry.S,
* for example. * for example.
*/ */
struct task_struct fastcall * __switch_to(struct task_struct *prev_p, struct task_struct *next_p) struct task_struct * __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
{ {
struct thread_struct *prev = &prev_p->thread, struct thread_struct *prev = &prev_p->thread,
*next = &next_p->thread; *next = &next_p->thread;
......
...@@ -575,7 +575,7 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka, ...@@ -575,7 +575,7 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka,
* want to handle. Thus you cannot kill init even with a SIGKILL even by * want to handle. Thus you cannot kill init even with a SIGKILL even by
* mistake. * mistake.
*/ */
static void fastcall do_signal(struct pt_regs *regs) static void do_signal(struct pt_regs *regs)
{ {
siginfo_t info; siginfo_t info;
int signr; int signr;
......
...@@ -159,7 +159,7 @@ void __send_IPI_shortcut(unsigned int shortcut, int vector) ...@@ -159,7 +159,7 @@ void __send_IPI_shortcut(unsigned int shortcut, int vector)
apic_write_around(APIC_ICR, cfg); apic_write_around(APIC_ICR, cfg);
} }
void fastcall send_IPI_self(int vector) void send_IPI_self(int vector)
{ {
__send_IPI_shortcut(APIC_DEST_SELF, vector); __send_IPI_shortcut(APIC_DEST_SELF, vector);
} }
...@@ -310,7 +310,7 @@ void leave_mm(unsigned long cpu) ...@@ -310,7 +310,7 @@ void leave_mm(unsigned long cpu)
* 2) Leave the mm if we are in the lazy tlb mode. * 2) Leave the mm if we are in the lazy tlb mode.
*/ */
fastcall void smp_invalidate_interrupt(struct pt_regs *regs) void smp_invalidate_interrupt(struct pt_regs *regs)
{ {
unsigned long cpu; unsigned long cpu;
...@@ -638,13 +638,13 @@ static void native_smp_send_stop(void) ...@@ -638,13 +638,13 @@ static void native_smp_send_stop(void)
* all the work is done automatically when * all the work is done automatically when
* we return from the interrupt. * we return from the interrupt.
*/ */
fastcall void smp_reschedule_interrupt(struct pt_regs *regs) void smp_reschedule_interrupt(struct pt_regs *regs)
{ {
ack_APIC_irq(); ack_APIC_irq();
__get_cpu_var(irq_stat).irq_resched_count++; __get_cpu_var(irq_stat).irq_resched_count++;
} }
fastcall void smp_call_function_interrupt(struct pt_regs *regs) void smp_call_function_interrupt(struct pt_regs *regs)
{ {
void (*func) (void *info) = call_data->func; void (*func) (void *info) = call_data->func;
void *info = call_data->info; void *info = call_data->info;
......
...@@ -501,7 +501,7 @@ static void __kprobes do_trap(int trapnr, int signr, char *str, int vm86, ...@@ -501,7 +501,7 @@ static void __kprobes do_trap(int trapnr, int signr, char *str, int vm86,
} }
#define DO_ERROR(trapnr, signr, str, name) \ #define DO_ERROR(trapnr, signr, str, name) \
fastcall void do_##name(struct pt_regs * regs, long error_code) \ void do_##name(struct pt_regs * regs, long error_code) \
{ \ { \
if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
== NOTIFY_STOP) \ == NOTIFY_STOP) \
...@@ -510,7 +510,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \ ...@@ -510,7 +510,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \
} }
#define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr, irq) \ #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr, irq) \
fastcall void do_##name(struct pt_regs * regs, long error_code) \ void do_##name(struct pt_regs * regs, long error_code) \
{ \ { \
siginfo_t info; \ siginfo_t info; \
if (irq) \ if (irq) \
...@@ -526,7 +526,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \ ...@@ -526,7 +526,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \
} }
#define DO_VM86_ERROR(trapnr, signr, str, name) \ #define DO_VM86_ERROR(trapnr, signr, str, name) \
fastcall void do_##name(struct pt_regs * regs, long error_code) \ void do_##name(struct pt_regs * regs, long error_code) \
{ \ { \
if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
== NOTIFY_STOP) \ == NOTIFY_STOP) \
...@@ -535,7 +535,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \ ...@@ -535,7 +535,7 @@ fastcall void do_##name(struct pt_regs * regs, long error_code) \
} }
#define DO_VM86_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ #define DO_VM86_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \
fastcall void do_##name(struct pt_regs * regs, long error_code) \ void do_##name(struct pt_regs * regs, long error_code) \
{ \ { \
siginfo_t info; \ siginfo_t info; \
info.si_signo = signr; \ info.si_signo = signr; \
...@@ -563,7 +563,7 @@ DO_ERROR(12, SIGBUS, "stack segment", stack_segment) ...@@ -563,7 +563,7 @@ DO_ERROR(12, SIGBUS, "stack segment", stack_segment)
DO_ERROR_INFO(17, SIGBUS, "alignment check", alignment_check, BUS_ADRALN, 0, 0) DO_ERROR_INFO(17, SIGBUS, "alignment check", alignment_check, BUS_ADRALN, 0, 0)
DO_ERROR_INFO(32, SIGSEGV, "iret exception", iret_error, ILL_BADSTK, 0, 1) DO_ERROR_INFO(32, SIGSEGV, "iret exception", iret_error, ILL_BADSTK, 0, 1)
fastcall void __kprobes do_general_protection(struct pt_regs * regs, void __kprobes do_general_protection(struct pt_regs * regs,
long error_code) long error_code)
{ {
int cpu = get_cpu(); int cpu = get_cpu();
...@@ -764,7 +764,7 @@ static __kprobes void default_do_nmi(struct pt_regs * regs) ...@@ -764,7 +764,7 @@ static __kprobes void default_do_nmi(struct pt_regs * regs)
static int ignore_nmis; static int ignore_nmis;
fastcall __kprobes void do_nmi(struct pt_regs * regs, long error_code) __kprobes void do_nmi(struct pt_regs * regs, long error_code)
{ {
int cpu; int cpu;
...@@ -793,7 +793,7 @@ void restart_nmi(void) ...@@ -793,7 +793,7 @@ void restart_nmi(void)
} }
#ifdef CONFIG_KPROBES #ifdef CONFIG_KPROBES
fastcall void __kprobes do_int3(struct pt_regs *regs, long error_code) void __kprobes do_int3(struct pt_regs *regs, long error_code)
{ {
trace_hardirqs_fixup(); trace_hardirqs_fixup();
...@@ -829,7 +829,7 @@ fastcall void __kprobes do_int3(struct pt_regs *regs, long error_code) ...@@ -829,7 +829,7 @@ fastcall void __kprobes do_int3(struct pt_regs *regs, long error_code)
* find every occurrence of the TF bit that could be saved away even * find every occurrence of the TF bit that could be saved away even
* by user code) * by user code)
*/ */
fastcall void __kprobes do_debug(struct pt_regs * regs, long error_code) void __kprobes do_debug(struct pt_regs * regs, long error_code)
{ {
unsigned int condition; unsigned int condition;
struct task_struct *tsk = current; struct task_struct *tsk = current;
...@@ -961,7 +961,7 @@ void math_error(void __user *ip) ...@@ -961,7 +961,7 @@ void math_error(void __user *ip)
force_sig_info(SIGFPE, &info, task); force_sig_info(SIGFPE, &info, task);
} }
fastcall void do_coprocessor_error(struct pt_regs * regs, long error_code) void do_coprocessor_error(struct pt_regs * regs, long error_code)
{ {
ignore_fpu_irq = 1; ignore_fpu_irq = 1;
math_error((void __user *)regs->ip); math_error((void __user *)regs->ip);
...@@ -1015,7 +1015,7 @@ static void simd_math_error(void __user *ip) ...@@ -1015,7 +1015,7 @@ static void simd_math_error(void __user *ip)
force_sig_info(SIGFPE, &info, task); force_sig_info(SIGFPE, &info, task);
} }
fastcall void do_simd_coprocessor_error(struct pt_regs * regs, void do_simd_coprocessor_error(struct pt_regs * regs,
long error_code) long error_code)
{ {
if (cpu_has_xmm) { if (cpu_has_xmm) {
...@@ -1039,7 +1039,7 @@ fastcall void do_simd_coprocessor_error(struct pt_regs * regs, ...@@ -1039,7 +1039,7 @@ fastcall void do_simd_coprocessor_error(struct pt_regs * regs,
} }
} }
fastcall void do_spurious_interrupt_bug(struct pt_regs * regs, void do_spurious_interrupt_bug(struct pt_regs * regs,
long error_code) long error_code)
{ {
#if 0 #if 0
...@@ -1048,7 +1048,7 @@ fastcall void do_spurious_interrupt_bug(struct pt_regs * regs, ...@@ -1048,7 +1048,7 @@ fastcall void do_spurious_interrupt_bug(struct pt_regs * regs,
#endif #endif
} }
fastcall unsigned long patch_espfix_desc(unsigned long uesp, unsigned long patch_espfix_desc(unsigned long uesp,
unsigned long kesp) unsigned long kesp)
{ {
struct desc_struct *gdt = __get_cpu_var(gdt_page).gdt; struct desc_struct *gdt = __get_cpu_var(gdt_page).gdt;
......
...@@ -120,8 +120,7 @@ static int copy_vm86_regs_from_user(struct kernel_vm86_regs *regs, ...@@ -120,8 +120,7 @@ static int copy_vm86_regs_from_user(struct kernel_vm86_regs *regs,
return ret; return ret;
} }
struct pt_regs * save_v86_state(struct kernel_vm86_regs * regs); struct pt_regs * save_v86_state(struct kernel_vm86_regs * regs)
struct pt_regs * fastcall save_v86_state(struct kernel_vm86_regs * regs)
{ {
struct tss_struct *tss; struct tss_struct *tss;
struct pt_regs *ret; struct pt_regs *ret;
......
...@@ -755,7 +755,7 @@ void __init initialize_secondary(void) ...@@ -755,7 +755,7 @@ void __init initialize_secondary(void)
* System interrupts occur because some problem was detected on the * System interrupts occur because some problem was detected on the
* various busses. To find out what you have to probe all the * various busses. To find out what you have to probe all the
* hardware via the CAT bus. FIXME: At the moment we do nothing. */ * hardware via the CAT bus. FIXME: At the moment we do nothing. */
fastcall void smp_vic_sys_interrupt(struct pt_regs *regs) void smp_vic_sys_interrupt(struct pt_regs *regs)
{ {
ack_CPI(VIC_SYS_INT); ack_CPI(VIC_SYS_INT);
printk("Voyager SYSTEM INTERRUPT\n"); printk("Voyager SYSTEM INTERRUPT\n");
...@@ -764,7 +764,7 @@ fastcall void smp_vic_sys_interrupt(struct pt_regs *regs) ...@@ -764,7 +764,7 @@ fastcall void smp_vic_sys_interrupt(struct pt_regs *regs)
/* Handle a voyager CMN_INT; These interrupts occur either because of /* Handle a voyager CMN_INT; These interrupts occur either because of
* a system status change or because a single bit memory error * a system status change or because a single bit memory error
* occurred. FIXME: At the moment, ignore all this. */ * occurred. FIXME: At the moment, ignore all this. */
fastcall void smp_vic_cmn_interrupt(struct pt_regs *regs) void smp_vic_cmn_interrupt(struct pt_regs *regs)
{ {
static __u8 in_cmn_int = 0; static __u8 in_cmn_int = 0;
static DEFINE_SPINLOCK(cmn_int_lock); static DEFINE_SPINLOCK(cmn_int_lock);
...@@ -1086,7 +1086,7 @@ voyager_smp_call_function_mask(cpumask_t cpumask, ...@@ -1086,7 +1086,7 @@ voyager_smp_call_function_mask(cpumask_t cpumask,
* no local APIC, so I can't do this * no local APIC, so I can't do this
* *
* This function is currently a placeholder and is unused in the code */ * This function is currently a placeholder and is unused in the code */
fastcall void smp_apic_timer_interrupt(struct pt_regs *regs) void smp_apic_timer_interrupt(struct pt_regs *regs)
{ {
struct pt_regs *old_regs = set_irq_regs(regs); struct pt_regs *old_regs = set_irq_regs(regs);
wrapper_smp_local_timer_interrupt(); wrapper_smp_local_timer_interrupt();
...@@ -1094,7 +1094,7 @@ fastcall void smp_apic_timer_interrupt(struct pt_regs *regs) ...@@ -1094,7 +1094,7 @@ fastcall void smp_apic_timer_interrupt(struct pt_regs *regs)
} }
/* All of the QUAD interrupt GATES */ /* All of the QUAD interrupt GATES */
fastcall void smp_qic_timer_interrupt(struct pt_regs *regs) void smp_qic_timer_interrupt(struct pt_regs *regs)
{ {
struct pt_regs *old_regs = set_irq_regs(regs); struct pt_regs *old_regs = set_irq_regs(regs);
ack_QIC_CPI(QIC_TIMER_CPI); ack_QIC_CPI(QIC_TIMER_CPI);
...@@ -1102,31 +1102,31 @@ fastcall void smp_qic_timer_interrupt(struct pt_regs *regs) ...@@ -1102,31 +1102,31 @@ fastcall void smp_qic_timer_interrupt(struct pt_regs *regs)
set_irq_regs(old_regs); set_irq_regs(old_regs);
} }
fastcall void smp_qic_invalidate_interrupt(struct pt_regs *regs) void smp_qic_invalidate_interrupt(struct pt_regs *regs)
{ {
ack_QIC_CPI(QIC_INVALIDATE_CPI); ack_QIC_CPI(QIC_INVALIDATE_CPI);
smp_invalidate_interrupt(); smp_invalidate_interrupt();
} }
fastcall void smp_qic_reschedule_interrupt(struct pt_regs *regs) void smp_qic_reschedule_interrupt(struct pt_regs *regs)
{ {
ack_QIC_CPI(QIC_RESCHEDULE_CPI); ack_QIC_CPI(QIC_RESCHEDULE_CPI);
smp_reschedule_interrupt(); smp_reschedule_interrupt();
} }
fastcall void smp_qic_enable_irq_interrupt(struct pt_regs *regs) void smp_qic_enable_irq_interrupt(struct pt_regs *regs)
{ {
ack_QIC_CPI(QIC_ENABLE_IRQ_CPI); ack_QIC_CPI(QIC_ENABLE_IRQ_CPI);
smp_enable_irq_interrupt(); smp_enable_irq_interrupt();
} }
fastcall void smp_qic_call_function_interrupt(struct pt_regs *regs) void smp_qic_call_function_interrupt(struct pt_regs *regs)
{ {
ack_QIC_CPI(QIC_CALL_FUNCTION_CPI); ack_QIC_CPI(QIC_CALL_FUNCTION_CPI);
smp_call_function_interrupt(); smp_call_function_interrupt();
} }
fastcall void smp_vic_cpi_interrupt(struct pt_regs *regs) void smp_vic_cpi_interrupt(struct pt_regs *regs)
{ {
struct pt_regs *old_regs = set_irq_regs(regs); struct pt_regs *old_regs = set_irq_regs(regs);
__u8 cpu = smp_processor_id(); __u8 cpu = smp_processor_id();
...@@ -1333,7 +1333,7 @@ int setup_profiling_timer(unsigned int multiplier) ...@@ -1333,7 +1333,7 @@ int setup_profiling_timer(unsigned int multiplier)
/* This is a bit of a mess, but forced on us by the genirq changes /* This is a bit of a mess, but forced on us by the genirq changes
* there's no genirq handler that really does what voyager wants * there's no genirq handler that really does what voyager wants
* so hack it up with the simple IRQ handler */ * so hack it up with the simple IRQ handler */
static void fastcall handle_vic_irq(unsigned int irq, struct irq_desc *desc) static void handle_vic_irq(unsigned int irq, struct irq_desc *desc)
{ {
before_handle_vic_irq(irq); before_handle_vic_irq(irq);
handle_simple_irq(irq, desc); handle_simple_irq(irq, desc);
......
...@@ -214,7 +214,7 @@ static noinline void force_sig_info_fault(int si_signo, int si_code, ...@@ -214,7 +214,7 @@ static noinline void force_sig_info_fault(int si_signo, int si_code,
force_sig_info(si_signo, &info, tsk); force_sig_info(si_signo, &info, tsk);
} }
fastcall void do_invalid_op(struct pt_regs *, unsigned long); void do_invalid_op(struct pt_regs *, unsigned long);
static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address)
{ {
...@@ -293,8 +293,7 @@ int show_unhandled_signals = 1; ...@@ -293,8 +293,7 @@ int show_unhandled_signals = 1;
* bit 3 == 1 means use of reserved bit detected * bit 3 == 1 means use of reserved bit detected
* bit 4 == 1 means fault was an instruction fetch * bit 4 == 1 means fault was an instruction fetch
*/ */
fastcall void __kprobes do_page_fault(struct pt_regs *regs, void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code)
unsigned long error_code)
{ {
struct task_struct *tsk; struct task_struct *tsk;
struct mm_struct *mm; struct mm_struct *mm;
......
...@@ -465,7 +465,7 @@ void xen_send_IPI_one(unsigned int cpu, enum ipi_vector vector) ...@@ -465,7 +465,7 @@ void xen_send_IPI_one(unsigned int cpu, enum ipi_vector vector)
* a bitset of words which contain pending event bits. The second * a bitset of words which contain pending event bits. The second
* level is a bitset of pending events themselves. * level is a bitset of pending events themselves.
*/ */
fastcall void xen_evtchn_do_upcall(struct pt_regs *regs) void xen_evtchn_do_upcall(struct pt_regs *regs)
{ {
int cpu = get_cpu(); int cpu = get_cpu();
struct shared_info *s = HYPERVISOR_shared_info; struct shared_info *s = HYPERVISOR_shared_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册