Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[POWERPC] pasemi: Reset mpic on boot

Reset MPIC on boot to clear some timer state that firmware might
leave configured.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Olof Johansson and committed by
Paul Mackerras
7e8bddf5 62357d82

+1 -1
+1 -1
arch/powerpc/platforms/pasemi/setup.c
··· 147 147 printk(KERN_DEBUG "OpenPIC addr: %lx\n", openpic_addr); 148 148 149 149 mpic = mpic_alloc(mpic_node, openpic_addr, 150 - MPIC_PRIMARY|MPIC_LARGE_VECTORS, 150 + MPIC_PRIMARY|MPIC_LARGE_VECTORS|MPIC_WANTS_RESET, 151 151 0, 0, " PAS-OPIC "); 152 152 BUG_ON(!mpic); 153 153