[PATCH] libata: fix ata_qc_issue() error handling
[linux-2.6/suspend2-2.6.18.git] / arch / powerpc / kernel / lparmap.c
blob584d1e3c013d24cac3a2eb5d17a7eb66a52d8e85
1 /*
2 * Copyright (C) 2005 Stephen Rothwell IBM Corp.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */
9 #include <asm/mmu.h>
10 #include <asm/pgtable.h>
11 #include <asm/iseries/lpar_map.h>
13 const struct LparMap __attribute__((__section__(".text"))) xLparMap = {
14 .xNumberEsids = HvEsidsToMap,
15 .xNumberRanges = HvRangesToMap,
16 .xSegmentTableOffs = STAB0_PAGE,
18 .xEsids = {
19 { .xKernelEsid = GET_ESID(PAGE_OFFSET),
20 .xKernelVsid = KERNEL_VSID(PAGE_OFFSET), },
21 { .xKernelEsid = GET_ESID(VMALLOC_START),
22 .xKernelVsid = KERNEL_VSID(VMALLOC_START), },
25 .xRanges = {
26 { .xPages = HvPagesToMap,
27 .xOffset = 0,
28 .xVPN = KERNEL_VSID(PAGE_OFFSET) << (SID_SHIFT - HW_PAGE_SHIFT),