powerpc: Get 64-bit configs to compile with ARCH=powerpc
[linux-2.6.git] / arch / ppc64 / kernel / asm-offsets.c
index 1ff4fa0..1378fbb 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));