diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-06-21 20:15:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 21:46:27 -0400 |
commit | 0bc0ffd5f0854b9143606684fb925f4290ae13e7 (patch) | |
tree | 9a4f13414a8a605ce4ff222c44788b509dae0409 /include/asm-ppc64 | |
parent | 6b7feecb2f8fcab184a38916d10349bd6648e0bc (diff) |
[PATCH] ppc64 iSeries: remove LparData.h
include/asm-ppc64/iSeries/LparData.h just included a whole lot of other files
to declare variables that would be better declared in those other files. So,
remove it. This will reduce that number of things needed to be included in
most cases to access the relevant variables.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r-- | include/asm-ppc64/iSeries/HvLpConfig.h | 1 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/HvReleaseData.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/IoHriMainStore.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/IoHriProcessorVpd.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/ItExtVpdPanel.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/ItIplParmsReal.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/ItLpNaca.h | 4 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/ItVpdAreas.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/LparData.h | 48 | ||||
-rw-r--r-- | include/asm-ppc64/iSeries/LparMap.h | 2 |
10 files changed, 18 insertions, 49 deletions
diff --git a/include/asm-ppc64/iSeries/HvLpConfig.h b/include/asm-ppc64/iSeries/HvLpConfig.h index 817698052ea8..9411b5a04d00 100644 --- a/include/asm-ppc64/iSeries/HvLpConfig.h +++ b/include/asm-ppc64/iSeries/HvLpConfig.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <asm/iSeries/HvCallCfg.h> | 27 | #include <asm/iSeries/HvCallCfg.h> |
28 | #include <asm/iSeries/HvTypes.h> | 28 | #include <asm/iSeries/HvTypes.h> |
29 | #include <asm/iSeries/ItLpNaca.h> | 29 | #include <asm/iSeries/ItLpNaca.h> |
30 | #include <asm/iSeries/LparData.h> | ||
31 | 30 | ||
32 | extern HvLpIndex HvLpConfig_getLpIndex_outline(void); | 31 | extern HvLpIndex HvLpConfig_getLpIndex_outline(void); |
33 | 32 | ||
diff --git a/include/asm-ppc64/iSeries/HvReleaseData.h b/include/asm-ppc64/iSeries/HvReleaseData.h index c0cd21caf8fd..01a1f13ea4a0 100644 --- a/include/asm-ppc64/iSeries/HvReleaseData.h +++ b/include/asm-ppc64/iSeries/HvReleaseData.h | |||
@@ -58,4 +58,6 @@ struct HvReleaseData { | |||
58 | char xRsvd3[20]; /* Reserved x2C-x3F */ | 58 | char xRsvd3[20]; /* Reserved x2C-x3F */ |
59 | }; | 59 | }; |
60 | 60 | ||
61 | extern struct HvReleaseData hvReleaseData; | ||
62 | |||
61 | #endif /* _HVRELEASEDATA_H */ | 63 | #endif /* _HVRELEASEDATA_H */ |
diff --git a/include/asm-ppc64/iSeries/IoHriMainStore.h b/include/asm-ppc64/iSeries/IoHriMainStore.h index fbb3ee4d174b..45ed3ea67d06 100644 --- a/include/asm-ppc64/iSeries/IoHriMainStore.h +++ b/include/asm-ppc64/iSeries/IoHriMainStore.h | |||
@@ -161,4 +161,6 @@ struct IoHriMainStoreSegment5 { | |||
161 | u64 reserved3; | 161 | u64 reserved3; |
162 | }; | 162 | }; |
163 | 163 | ||
164 | extern u64 xMsVpd[]; | ||
165 | |||
164 | #endif /* _IOHRIMAINSTORE_H */ | 166 | #endif /* _IOHRIMAINSTORE_H */ |
diff --git a/include/asm-ppc64/iSeries/IoHriProcessorVpd.h b/include/asm-ppc64/iSeries/IoHriProcessorVpd.h index ccb7b7c55a40..73b73d80b8b1 100644 --- a/include/asm-ppc64/iSeries/IoHriProcessorVpd.h +++ b/include/asm-ppc64/iSeries/IoHriProcessorVpd.h | |||
@@ -81,4 +81,6 @@ struct IoHriProcessorVpd { | |||
81 | char xProcSrc[72]; // CSP format SRC xB8-xFF | 81 | char xProcSrc[72]; // CSP format SRC xB8-xFF |
82 | }; | 82 | }; |
83 | 83 | ||
84 | extern struct IoHriProcessorVpd xIoHriProcessorVpd[]; | ||
85 | |||
84 | #endif /* _IOHRIPROCESSORVPD_H */ | 86 | #endif /* _IOHRIPROCESSORVPD_H */ |
diff --git a/include/asm-ppc64/iSeries/ItExtVpdPanel.h b/include/asm-ppc64/iSeries/ItExtVpdPanel.h index b7149079d3ca..4c546a8802b4 100644 --- a/include/asm-ppc64/iSeries/ItExtVpdPanel.h +++ b/include/asm-ppc64/iSeries/ItExtVpdPanel.h | |||
@@ -47,4 +47,6 @@ struct ItExtVpdPanel { | |||
47 | u8 xRsvd2[48]; | 47 | u8 xRsvd2[48]; |
48 | }; | 48 | }; |
49 | 49 | ||
50 | extern struct ItExtVpdPanel xItExtVpdPanel; | ||
51 | |||
50 | #endif /* _ITEXTVPDPANEL_H */ | 52 | #endif /* _ITEXTVPDPANEL_H */ |
diff --git a/include/asm-ppc64/iSeries/ItIplParmsReal.h b/include/asm-ppc64/iSeries/ItIplParmsReal.h index 14f0b0a2a823..ae3417dc599e 100644 --- a/include/asm-ppc64/iSeries/ItIplParmsReal.h +++ b/include/asm-ppc64/iSeries/ItIplParmsReal.h | |||
@@ -66,4 +66,6 @@ struct ItIplParmsReal { | |||
66 | u64 xRsvd13; // Reserved x38-x3F | 66 | u64 xRsvd13; // Reserved x38-x3F |
67 | }; | 67 | }; |
68 | 68 | ||
69 | extern struct ItIplParmsReal xItIplParmsReal; | ||
70 | |||
69 | #endif /* _ITIPLPARMSREAL_H */ | 71 | #endif /* _ITIPLPARMSREAL_H */ |
diff --git a/include/asm-ppc64/iSeries/ItLpNaca.h b/include/asm-ppc64/iSeries/ItLpNaca.h index 942b07d91408..225d0176779d 100644 --- a/include/asm-ppc64/iSeries/ItLpNaca.h +++ b/include/asm-ppc64/iSeries/ItLpNaca.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #ifndef _ITLPNACA_H | 19 | #ifndef _ITLPNACA_H |
20 | #define _ITLPNACA_H | 20 | #define _ITLPNACA_H |
21 | 21 | ||
22 | #include <linux/types.h> | ||
23 | |||
22 | /* | 24 | /* |
23 | * This control block contains the data that is shared between the | 25 | * This control block contains the data that is shared between the |
24 | * hypervisor (PLIC) and the OS. | 26 | * hypervisor (PLIC) and the OS. |
@@ -73,4 +75,6 @@ struct ItLpNaca { | |||
73 | u64 xInterruptHdlr[32]; // Interrupt handlers 300-x3FF | 75 | u64 xInterruptHdlr[32]; // Interrupt handlers 300-x3FF |
74 | }; | 76 | }; |
75 | 77 | ||
78 | extern struct ItLpNaca itLpNaca; | ||
79 | |||
76 | #endif /* _ITLPNACA_H */ | 80 | #endif /* _ITLPNACA_H */ |
diff --git a/include/asm-ppc64/iSeries/ItVpdAreas.h b/include/asm-ppc64/iSeries/ItVpdAreas.h index cfb9925e40aa..97cfa6c427ec 100644 --- a/include/asm-ppc64/iSeries/ItVpdAreas.h +++ b/include/asm-ppc64/iSeries/ItVpdAreas.h | |||
@@ -90,4 +90,6 @@ struct ItVpdAreas { | |||
90 | void *xSlicVpdAdrs[ItVpdMaxEntries];// Array of VPD buffers 130-1EF | 90 | void *xSlicVpdAdrs[ItVpdMaxEntries];// Array of VPD buffers 130-1EF |
91 | }; | 91 | }; |
92 | 92 | ||
93 | extern struct ItVpdAreas itVpdAreas; | ||
94 | |||
93 | #endif /* _ITVPDAREAS_H */ | 95 | #endif /* _ITVPDAREAS_H */ |
diff --git a/include/asm-ppc64/iSeries/LparData.h b/include/asm-ppc64/iSeries/LparData.h deleted file mode 100644 index a9fd6e287e6d..000000000000 --- a/include/asm-ppc64/iSeries/LparData.h +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /* | ||
2 | * LparData.h | ||
3 | * Copyright (C) 2001 Mike Corrigan IBM Corporation | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | */ | ||
19 | |||
20 | #ifndef _LPARDATA_H | ||
21 | #define _LPARDATA_H | ||
22 | |||
23 | #include <asm/types.h> | ||
24 | #include <asm/page.h> | ||
25 | #include <asm/abs_addr.h> | ||
26 | |||
27 | #include <asm/iSeries/ItLpNaca.h> | ||
28 | #include <asm/iSeries/ItLpRegSave.h> | ||
29 | #include <asm/iSeries/HvReleaseData.h> | ||
30 | #include <asm/iSeries/LparMap.h> | ||
31 | #include <asm/iSeries/ItVpdAreas.h> | ||
32 | #include <asm/iSeries/ItIplParmsReal.h> | ||
33 | #include <asm/iSeries/ItExtVpdPanel.h> | ||
34 | #include <asm/iSeries/ItLpQueue.h> | ||
35 | #include <asm/iSeries/IoHriProcessorVpd.h> | ||
36 | |||
37 | extern struct LparMap xLparMap; | ||
38 | extern struct HvReleaseData hvReleaseData; | ||
39 | extern struct ItLpNaca itLpNaca; | ||
40 | extern struct ItIplParmsReal xItIplParmsReal; | ||
41 | extern struct ItExtVpdPanel xItExtVpdPanel; | ||
42 | extern struct IoHriProcessorVpd xIoHriProcessorVpd[]; | ||
43 | extern struct ItLpQueue xItLpQueue; | ||
44 | extern struct ItVpdAreas itVpdAreas; | ||
45 | extern u64 xMsVpd[]; | ||
46 | extern struct msChunks msChunks; | ||
47 | |||
48 | #endif /* _LPARDATA_H */ | ||
diff --git a/include/asm-ppc64/iSeries/LparMap.h b/include/asm-ppc64/iSeries/LparMap.h index 1505c4f0f1b4..038e5df7e9f8 100644 --- a/include/asm-ppc64/iSeries/LparMap.h +++ b/include/asm-ppc64/iSeries/LparMap.h | |||
@@ -64,4 +64,6 @@ struct LparMap { | |||
64 | u64 xVPN; // Virtual Page Number (0x000C000000000000) | 64 | u64 xVPN; // Virtual Page Number (0x000C000000000000) |
65 | }; | 65 | }; |
66 | 66 | ||
67 | extern struct LparMap xLparMap; | ||
68 | |||
67 | #endif /* _LPARMAP_H */ | 69 | #endif /* _LPARMAP_H */ |