diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-06-30 01:12:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-30 01:12:21 -0400 |
commit | ab354b637924beb33dcc23eedc9482f2c692188f (patch) | |
tree | 59da8e59259eda4fd612178ec3c3db19558c4a2f | |
parent | 0f6014b37e25e50724867c0a4127615427ec2a75 (diff) |
[PATCH] ppc64: Move definition of xItLpQueue
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>
-rw-r--r-- | arch/ppc64/kernel/ItLpQueue.c | 8 | ||||
-rw-r--r-- | arch/ppc64/kernel/LparData.c | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/arch/ppc64/kernel/ItLpQueue.c b/arch/ppc64/kernel/ItLpQueue.c index ac0b05a6e067..7ddbfb9750dc 100644 --- a/arch/ppc64/kernel/ItLpQueue.c +++ b/arch/ppc64/kernel/ItLpQueue.c | |||
@@ -20,6 +20,14 @@ | |||
20 | #include <asm/iSeries/HvLpEvent.h> | 20 | #include <asm/iSeries/HvLpEvent.h> |
21 | #include <asm/iSeries/HvCallEvent.h> | 21 | #include <asm/iSeries/HvCallEvent.h> |
22 | 22 | ||
23 | /* | ||
24 | * The LpQueue is used to pass event data from the hypervisor to | ||
25 | * the partition. This is where I/O interrupt events are communicated. | ||
26 | * | ||
27 | * It is written to by the hypervisor so cannot end up in the BSS. | ||
28 | */ | ||
29 | struct ItLpQueue xItLpQueue __attribute__((__section__(".data"))); | ||
30 | |||
23 | static char *event_types[9] = { | 31 | static char *event_types[9] = { |
24 | "Hypervisor\t\t", | 32 | "Hypervisor\t\t", |
25 | "Machine Facilities\t", | 33 | "Machine Facilities\t", |
diff --git a/arch/ppc64/kernel/LparData.c b/arch/ppc64/kernel/LparData.c index badc5a443614..f42ee35f927a 100644 --- a/arch/ppc64/kernel/LparData.c +++ b/arch/ppc64/kernel/LparData.c | |||
@@ -28,13 +28,6 @@ | |||
28 | #include <asm/iSeries/IoHriProcessorVpd.h> | 28 | #include <asm/iSeries/IoHriProcessorVpd.h> |
29 | #include <asm/iSeries/ItSpCommArea.h> | 29 | #include <asm/iSeries/ItSpCommArea.h> |
30 | 30 | ||
31 | /* The LpQueue is used to pass event data from the hypervisor to | ||
32 | * the partition. This is where I/O interrupt events are communicated. | ||
33 | */ | ||
34 | |||
35 | /* May be filled in by the hypervisor so cannot end up in the BSS */ | ||
36 | struct ItLpQueue xItLpQueue __attribute__((__section__(".data"))); | ||
37 | |||
38 | 31 | ||
39 | /* The HvReleaseData is the root of the information shared between | 32 | /* The HvReleaseData is the root of the information shared between |
40 | * the hypervisor and Linux. | 33 | * the hypervisor and Linux. |