summaryrefslogtreecommitdiff
path: root/arch/i386/cpu/interrupts.c
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:23 +1100
committerGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:23 +1100
commit5c161653db3aa585f3e47a650ae177ba9ffb7232 (patch)
tree3eed0f4ee3c40748601cf3430f4b590afaef977c /arch/i386/cpu/interrupts.c
parent8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899 (diff)
downloadu-boot-imx-5c161653db3aa585f3e47a650ae177ba9ffb7232.zip
u-boot-imx-5c161653db3aa585f3e47a650ae177ba9ffb7232.tar.gz
u-boot-imx-5c161653db3aa585f3e47a650ae177ba9ffb7232.tar.bz2
x86: Change compiler options
Change to: - reparam=3 - no-from-pointer - no-stack-protector - preferred-stack-boundary=2 - no-top-level-reorder These options make the code a little smaller and faster
Diffstat (limited to 'arch/i386/cpu/interrupts.c')
-rw-r--r--arch/i386/cpu/interrupts.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/i386/cpu/interrupts.c b/arch/i386/cpu/interrupts.c
index 51023f3..47a7a29 100644
--- a/arch/i386/cpu/interrupts.c
+++ b/arch/i386/cpu/interrupts.c
@@ -225,7 +225,7 @@ int disable_interrupts(void)
}
/* IRQ Low-Level Service Routine */
-__isr__ irq_llsr(struct pt_regs *regs)
+void irq_llsr(struct pt_regs *regs)
{
/*
* For detailed description of each exception, refer to:
@@ -370,12 +370,7 @@ asm(".globl irq_common_entry\n" \
"pushl %ecx\n" \
"pushl %ebx\n" \
"mov %esp, %eax\n" \
- "pushl %ebp\n" \
- "movl %esp,%ebp\n" \
- "pushl %eax\n" \
"call irq_llsr\n" \
- "popl %eax\n" \
- "leave\n"\
"popl %ebx\n" \
"popl %ecx\n" \
"popl %edx\n" \