powerpc: Get 64-bit configs to compile with ARCH=powerpc
[linux-2.6-block.git] / arch / ppc64 / kernel / asm-offsets.c
index 1ff4fa05a97329f1a7c5217a7e8737f6f49421e5..1378fbbe1e57e9ff747afec1b6e39f73ce031e8e 100644 (file)
@@ -77,6 +77,7 @@ int main(void)
        DEFINE(ICACHEL1LOGLINESIZE, offsetof(struct ppc64_caches, log_iline_size));
        DEFINE(ICACHEL1LINESPERPAGE, offsetof(struct ppc64_caches, ilines_per_page));
        DEFINE(PLATFORM, offsetof(struct systemcfg, platform));
+       DEFINE(PLATFORM_LPAR, PLATFORM_LPAR);
 
        /* paca */
         DEFINE(PACA_SIZE, sizeof(struct paca_struct));