summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/interrupts.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-06 20:20:08 (GMT)
committerSimon Glass <sjg@chromium.org>2014-11-21 06:24:09 (GMT)
commite1ffd81797d59652124bd9cda813a58644f5dea9 (patch)
treef6cd2ec5d83ceb65f472480336ab1b542464afc0 /arch/x86/cpu/interrupts.c
parent8b37c7694f1eace82626d00fbfb85311ebf0d220 (diff)
downloadu-boot-e1ffd81797d59652124bd9cda813a58644f5dea9.tar.xz
x86: Fix up some missing prototypes
Some functions are missing prototypes. Fix those that are specific to x86. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/interrupts.c')
-rw-r--r--arch/x86/cpu/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/interrupts.c b/arch/x86/cpu/interrupts.c
index 6f3d85f..51e2c59 100644
--- a/arch/x86/cpu/interrupts.c
+++ b/arch/x86/cpu/interrupts.c
@@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR;
"pushl $"#x"\n" \
"jmp irq_common_entry\n"
-void dump_regs(struct irq_regs *regs)
+static void dump_regs(struct irq_regs *regs)
{
unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L;
unsigned long d0, d1, d2, d3, d6, d7;