All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.27-rc5 1/29] mdb: export ioapic read routines and detected ioapic count
@ 2008-08-29  5:47 jmerkey
  2008-08-31 13:57 ` Benny Halevy
  0 siblings, 1 reply; 4+ messages in thread
From: jmerkey @ 2008-08-29  5:47 UTC (permalink / raw)
  To: linux-kernel

export ioapic read routines and detected ioapic count.


Signed-off-by: Jeffrey Vernon Merkey (jmerkey@wolfmountaingroup.com)

--- a/arch/x86/kernel/io_apic_32.c	2008-08-28 14:19:19.000000000 -0600
+++ b/arch/x86/kernel/io_apic_32.c	2008-08-28 16:07:46.000000000 -0600
@@ -75,6 +75,7 @@
 /* I/O APIC entries */
 struct mp_config_ioapic mp_ioapics[MAX_IO_APICS];
 int nr_ioapics;
+EXPORT_SYMBOL(nr_ioapics);
 
 /* MP IRQ source entries */
 struct mp_config_intsrc mp_irqs[MAX_IRQ_SOURCES];
@@ -120,12 +121,13 @@
 		+ (mp_ioapics[idx].mp_apicaddr & ~PAGE_MASK);
 }
 
-static inline unsigned int io_apic_read(unsigned int apic, unsigned int reg)
+unsigned int io_apic_read(unsigned int apic, unsigned int reg)
 {
 	struct io_apic __iomem *io_apic = io_apic_base(apic);
 	writel(reg, &io_apic->index);
 	return readl(&io_apic->data);
 }
+EXPORT_SYMBOL(io_apic_read);
 
 static inline void io_apic_write(unsigned int apic, unsigned int reg, unsigned int value)
 {

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-01 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29  5:47 [PATCH 2.6.27-rc5 1/29] mdb: export ioapic read routines and detected ioapic count jmerkey
2008-08-31 13:57 ` Benny Halevy
2008-09-01 13:39   ` jmerkey
2008-09-01 14:25     ` Halevy, Benny

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.