aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/LparData.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/LparData.c')
-rw-r--r--arch/ppc64/kernel/LparData.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/ppc64/kernel/LparData.c b/arch/ppc64/kernel/LparData.c
index 0ed77b2f7d5f..0a9c23ca2f0c 100644
--- a/arch/ppc64/kernel/LparData.c
+++ b/arch/ppc64/kernel/LparData.c
@@ -225,21 +225,3 @@ struct ItVpdAreas itVpdAreas = {
225 0,0 225 0,0
226 } 226 }
227}; 227};
228
229struct msChunks msChunks;
230EXPORT_SYMBOL(msChunks);
231
232unsigned long
233msChunks_alloc(unsigned long mem, unsigned long num_chunks, unsigned long chunk_size)
234{
235 _msChunks->num_chunks = num_chunks;
236 _msChunks->chunk_size = chunk_size;
237 _msChunks->chunk_shift = __ilog2(chunk_size);
238 _msChunks->chunk_mask = (1UL<<_msChunks->chunk_shift)-1;
239
240 mem = _ALIGN(mem, sizeof(msChunks_entry));
241 _msChunks->abs = (msChunks_entry *)mem;
242 mem += num_chunks * sizeof(msChunks_entry);
243
244 return mem;
245}