]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/include/asm/lguest.h
gpu/drm, x86, PAT: io_mapping_create_wc and resource_size_t
[linux-2.6-omap-h63xx.git] / arch / x86 / include / asm / lguest.h
index d28a507cef3957eeccf5154d1e9b6b29103e21cc..1caf57628b9c8c750dccbf2e8d60c29a250b39c9 100644 (file)
@@ -15,7 +15,7 @@
 #define SHARED_SWITCHER_PAGES \
        DIV_ROUND_UP(end_switcher_text - start_switcher_text, PAGE_SIZE)
 /* Pages for switcher itself, then two pages per cpu */
-#define TOTAL_SWITCHER_PAGES (SHARED_SWITCHER_PAGES + 2 * NR_CPUS)
+#define TOTAL_SWITCHER_PAGES (SHARED_SWITCHER_PAGES + 2 * nr_cpu_ids)
 
 /* We map at -4M for ease of mapping into the guest (one PTE page). */
 #define SWITCHER_ADDR 0xFFC00000