irq.c (e8775d4aa17d70d123814e68a6a51bbea50e5c16) | irq.c (89c81797d4a0779a957f4ea1f0c676cda203615b) |
---|---|
1/* 2 * Derived from arch/i386/kernel/irq.c 3 * Copyright (C) 1992 Linus Torvalds 4 * Adapted from arch/i386 by Gary Thomas 5 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 6 * Updated and modified by Cort Dougan <cort@fsmlabs.com> 7 * Copyright (C) 1996-2001 Cort Dougan 8 * Adapted for Power Macintosh by Paul Mackerras --- 50 unchanged lines hidden (view full) --- 59#include <asm/io.h> 60#include <asm/pgtable.h> 61#include <asm/irq.h> 62#include <asm/cache.h> 63#include <asm/prom.h> 64#include <asm/ptrace.h> 65#include <asm/machdep.h> 66#include <asm/udbg.h> | 1/* 2 * Derived from arch/i386/kernel/irq.c 3 * Copyright (C) 1992 Linus Torvalds 4 * Adapted from arch/i386 by Gary Thomas 5 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 6 * Updated and modified by Cort Dougan <cort@fsmlabs.com> 7 * Copyright (C) 1996-2001 Cort Dougan 8 * Adapted for Power Macintosh by Paul Mackerras --- 50 unchanged lines hidden (view full) --- 59#include <asm/io.h> 60#include <asm/pgtable.h> 61#include <asm/irq.h> 62#include <asm/cache.h> 63#include <asm/prom.h> 64#include <asm/ptrace.h> 65#include <asm/machdep.h> 66#include <asm/udbg.h> |
67#include <asm/dbell.h> 68 |
|
67#ifdef CONFIG_PPC64 68#include <asm/paca.h> 69#include <asm/firmware.h> 70#include <asm/lv1call.h> 71#endif 72#define CREATE_TRACE_POINTS 73#include <asm/trace.h> 74 --- 73 unchanged lines hidden (view full) --- 148 * if (get_paca()->hard_enabled) return; 149 * But again we need to take care that gcc gets hard_enabled directly 150 * via r13, not choose to use an intermediate register, lest we're 151 * preempted to a different cpu in between the two instructions. 152 */ 153 if (get_hard_enabled()) 154 return; 155 | 69#ifdef CONFIG_PPC64 70#include <asm/paca.h> 71#include <asm/firmware.h> 72#include <asm/lv1call.h> 73#endif 74#define CREATE_TRACE_POINTS 75#include <asm/trace.h> 76 --- 73 unchanged lines hidden (view full) --- 150 * if (get_paca()->hard_enabled) return; 151 * But again we need to take care that gcc gets hard_enabled directly 152 * via r13, not choose to use an intermediate register, lest we're 153 * preempted to a different cpu in between the two instructions. 154 */ 155 if (get_hard_enabled()) 156 return; 157 |
158#if defined(CONFIG_BOOKE) && defined(CONFIG_SMP) 159 /* Check for pending doorbell interrupts on SMP */ 160 doorbell_exception(NULL); 161#endif 162 |
|
156 /* 157 * Need to hard-enable interrupts here. Since currently disabled, 158 * no need to take further asm precautions against preemption; but 159 * use local_paca instead of get_paca() to avoid preemption checking. 160 */ 161 local_paca->hard_enabled = en; 162 163#ifndef CONFIG_BOOKE --- 1051 unchanged lines hidden --- | 163 /* 164 * Need to hard-enable interrupts here. Since currently disabled, 165 * no need to take further asm precautions against preemption; but 166 * use local_paca instead of get_paca() to avoid preemption checking. 167 */ 168 local_paca->hard_enabled = en; 169 170#ifndef CONFIG_BOOKE --- 1051 unchanged lines hidden --- |