diff options
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 9ee1c1628c17..24d1458a1822 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -4066,7 +4066,7 @@ static struct resource * __init ioapic_setup_resources(int nr_ioapics) | |||
4066 | for (i = 0; i < nr_ioapics; i++) { | 4066 | for (i = 0; i < nr_ioapics; i++) { |
4067 | res[i].name = mem; | 4067 | res[i].name = mem; |
4068 | res[i].flags = IORESOURCE_MEM | IORESOURCE_BUSY; | 4068 | res[i].flags = IORESOURCE_MEM | IORESOURCE_BUSY; |
4069 | sprintf(mem, "IOAPIC %u", i); | 4069 | snprintf(mem, IOAPIC_RESOURCE_NAME_SIZE, "IOAPIC %u", i); |
4070 | mem += IOAPIC_RESOURCE_NAME_SIZE; | 4070 | mem += IOAPIC_RESOURCE_NAME_SIZE; |
4071 | } | 4071 | } |
4072 | 4072 | ||