powerpc: Get 64-bit configs to compile with ARCH=powerpc
[linux-2.6-block.git] / arch / powerpc / kernel / asm-offsets.c
index 3a247c033e8bdc03593fbea9162004476a6b8bb3..ddf0c81e1958cd4b1f26a9129c46d87f264a3430 100644 (file)
@@ -111,6 +111,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));