Merge commit 'origin/master' into next
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 12 Jun 2009 06:53:38 +0000 (16:53 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 12 Jun 2009 06:53:38 +0000 (16:53 +1000)
Manual merge of:
arch/powerpc/kernel/asm-offsets.c

1  2 
Documentation/kernel-parameters.txt
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/irq.c
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/sysdev/mpic.c
include/linux/pci_ids.h

Simple merge
Simple merge
Simple merge
index ce90c570cd8ee1f40a4042720572c89724f6f694,e981d1ce1914b20994be3d63d2e0d5acba86deda..561b6465231105073ef991300d6aab206e1e0531
@@@ -129,7 -131,11 +129,8 @@@ int main(void
        DEFINE(PACAKMSR, offsetof(struct paca_struct, kernel_msr));
        DEFINE(PACASOFTIRQEN, offsetof(struct paca_struct, soft_enabled));
        DEFINE(PACAHARDIRQEN, offsetof(struct paca_struct, hard_enabled));
 -      DEFINE(PACASLBCACHE, offsetof(struct paca_struct, slb_cache));
 -      DEFINE(PACASLBCACHEPTR, offsetof(struct paca_struct, slb_cache_ptr));
+       DEFINE(PACAPERFPEND, offsetof(struct paca_struct, perf_counter_pending));
        DEFINE(PACACONTEXTID, offsetof(struct paca_struct, context.id));
 -      DEFINE(PACAVMALLOCSLLP, offsetof(struct paca_struct, vmalloc_sllp));
  #ifdef CONFIG_PPC_MM_SLICES
        DEFINE(PACALOWSLICESPSIZE, offsetof(struct paca_struct,
                                            context.low_slices_psize));
index 8564a412e7a66f28b0403007f7a6615d23167816,844d3f882a15051f4b4cba821c10c377d2529501..f7f376ea7b178792fa12927b0578230e9bc61915
@@@ -135,8 -135,12 +136,13 @@@ notrace void raw_local_irq_restore(unsi
                if (local_paca->lppaca_ptr->int_dword.any_int)
                        iseries_handle_interrupts();
        }
 +#endif /* CONFIG_PPC_STD_MMU_64 */
  
+       if (test_perf_counter_pending()) {
+               clear_perf_counter_pending();
+               perf_counter_do_pending();
+       }
        /*
         * if (get_paca()->hard_enabled) return;
         * But again we need to take care that gcc gets hard_enabled directly
Simple merge
Simple merge