OSDN Git Service

[PATCH] ppc64: Move definition of xItLpQueue
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 30 Jun 2005 05:12:21 +0000 (15:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 30 Jun 2005 05:12:21 +0000 (15:12 +1000)
The xItLpQueue is declared in LparData.c, move it into ItLpQueue.c.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/ItLpQueue.c
arch/ppc64/kernel/LparData.c

index ac0b05a..7ddbfb9 100644 (file)
 #include <asm/iSeries/HvLpEvent.h>
 #include <asm/iSeries/HvCallEvent.h>
 
+/*
+ * The LpQueue is used to pass event data from the hypervisor to
+ * the partition.  This is where I/O interrupt events are communicated.
+ *
+ * It is written to by the hypervisor so cannot end up in the BSS.
+ */
+struct ItLpQueue xItLpQueue __attribute__((__section__(".data")));
+
 static char *event_types[9] = {
        "Hypervisor\t\t",
        "Machine Facilities\t",
index badc5a4..f42ee35 100644 (file)
 #include <asm/iSeries/IoHriProcessorVpd.h>
 #include <asm/iSeries/ItSpCommArea.h>
 
-/* The LpQueue is used to pass event data from the hypervisor to
- * the partition.  This is where I/O interrupt events are communicated.
- */
-
-/* May be filled in by the hypervisor so cannot end up in the BSS */
-struct ItLpQueue xItLpQueue __attribute__((__section__(".data")));
-
 
 /* The HvReleaseData is the root of the information shared between 
  * the hypervisor and Linux.