From 0f72be1a9e479fe948fe45f91db2388ba666743e Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 8 Sep 2010 12:11:11 +0000 Subject: [PATCH] - simplifies the array intialization git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@152 315a16e6-25f9-4109-90ae-ca3045a26c18 --- arch/x86/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 6316b728..22b9d00b 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c @@ -48,7 +48,7 @@ extern void irq15(void); * This array is actually an array of function pointers. We use * this to handle custom IRQ handlers for a given IRQ */ -static void *irq_routines[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +static void *irq_routines[16] = {[0 ... 15] = NULL }; /* This installs a custom IRQ handler for the given IRQ */ void irq_install_handler(unsigned int irq, irq_handler_t handler)