Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ad5b3a5 authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds
Browse files

kernel: remove fastcall in kernel/*



[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fc9b52cd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -458,7 +458,7 @@ struct files_struct *get_files_struct(struct task_struct *task)
	return files;
}

void fastcall put_files_struct(struct files_struct *files)
void put_files_struct(struct files_struct *files)
{
	struct fdtable *fdt;

@@ -887,7 +887,7 @@ static inline void exit_child_reaper(struct task_struct *tsk)
	zap_pid_ns_processes(tsk->nsproxy->pid_ns);
}

fastcall NORET_TYPE void do_exit(long code)
NORET_TYPE void do_exit(long code)
{
	struct task_struct *tsk = current;
	int group_dead;
+1 −1
Original line number Diff line number Diff line
@@ -390,7 +390,7 @@ struct mm_struct * mm_alloc(void)
 * is dropped: either by a lazy thread or by
 * mmput. Free the page directory and the mm.
 */
void fastcall __mmdrop(struct mm_struct *mm)
void __mmdrop(struct mm_struct *mm)
{
	BUG_ON(mm == &init_mm);
	mm_free_pgd(mm);
+5 −5
Original line number Diff line number Diff line
@@ -286,7 +286,7 @@ static inline void mask_ack_irq(struct irq_desc *desc, int irq)
 *	Note: The caller is expected to handle the ack, clear, mask and
 *	unmask issues if necessary.
 */
void fastcall
void
handle_simple_irq(unsigned int irq, struct irq_desc *desc)
{
	struct irqaction *action;
@@ -327,7 +327,7 @@ handle_simple_irq(unsigned int irq, struct irq_desc *desc)
 *	it after the associated handler has acknowledged the device, so the
 *	interrupt line is back to inactive.
 */
void fastcall
void
handle_level_irq(unsigned int irq, struct irq_desc *desc)
{
	unsigned int cpu = smp_processor_id();
@@ -375,7 +375,7 @@ handle_level_irq(unsigned int irq, struct irq_desc *desc)
 *	for modern forms of interrupt handlers, which handle the flow
 *	details in hardware, transparently.
 */
void fastcall
void
handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
{
	unsigned int cpu = smp_processor_id();
@@ -434,7 +434,7 @@ handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
 *	the handler was running. If all pending interrupts are handled, the
 *	loop is left.
 */
void fastcall
void
handle_edge_irq(unsigned int irq, struct irq_desc *desc)
{
	const unsigned int cpu = smp_processor_id();
@@ -505,7 +505,7 @@ handle_edge_irq(unsigned int irq, struct irq_desc *desc)
 *
 *	Per CPU interrupts on SMP machines without locking requirements
 */
void fastcall
void
handle_percpu_irq(unsigned int irq, struct irq_desc *desc)
{
	irqreturn_t action_ret;
+2 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
 *
 * Handles spurious and unhandled IRQ's. It also prints a debugmessage.
 */
void fastcall
void
handle_bad_irq(unsigned int irq, struct irq_desc *desc)
{
	print_irq_desc(irq, desc);
@@ -163,7 +163,7 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action)
 * This is the original x86 implementation which is used for every
 * interrupt type.
 */
fastcall unsigned int __do_IRQ(unsigned int irq)
unsigned int __do_IRQ(unsigned int irq)
{
	struct irq_desc *desc = irq_desc + irq;
	struct irqaction *action;
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ void debug_mutex_init(struct mutex *lock, const char *name,
 * use of the mutex is forbidden. The mutex must not be locked when
 * this function is called.
 */
void fastcall mutex_destroy(struct mutex *lock)
void mutex_destroy(struct mutex *lock)
{
	DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock));
	lock->magic = NULL;
Loading