Lines Matching refs:pc
283 unsigned long pc = mfspr(SPRN_SIAR); in get_pc() local
289 return pc; in get_pc()
296 pc += 4 * (slot - 1); in get_pc()
307 return pc; in get_pc()
311 if (pc >= rtas.base && pc < (rtas.base + rtas.size)) in get_pc()
317 if (pc < 0x1000000UL) in get_pc()
318 return (unsigned long)__va(pc); in get_pc()
321 if (!is_kernel_addr(pc)) in get_pc()
325 return pc; in get_pc()
328 static int get_kernel(unsigned long pc, unsigned long mmcra) in get_kernel() argument
333 is_kernel = is_kernel_addr(pc); in get_kernel()
366 unsigned long pc; in power4_handle_interrupt() local
376 pc = get_pc(regs); in power4_handle_interrupt()
377 is_kernel = get_kernel(pc, mmcra); in power4_handle_interrupt()
402 oprofile_add_ext_sample(pc, regs, i, in power4_handle_interrupt()