Stephen Rothwell | c111d0b | 2005-09-28 13:28:01 +1000 | [diff] [blame] | 1 | /* |
| 2 | * This file contains miscellaneous low-level functions. |
| 3 | * Copyright (C) 1995-2005 IBM Corp |
| 4 | * |
| 5 | * Largely rewritten by Cort Dougan (cort@cs.nmt.edu) |
| 6 | * and Paul Mackerras. |
| 7 | * Adapted for iSeries by Mike Corrigan (mikejc@us.ibm.com) |
| 8 | * PPC64 updates by Dave Engebretsen (engebret@us.ibm.com) |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or |
| 11 | * modify it under the terms of the GNU General Public License |
| 12 | * as published by the Free Software Foundation; either version |
| 13 | * 2 of the License, or (at your option) any later version. |
| 14 | */ |
| 15 | |
| 16 | #include <asm/processor.h> |
| 17 | #include <asm/asm-offsets.h> |
David Gibson | 3ddfbcf | 2005-11-10 12:56:55 +1100 | [diff] [blame] | 18 | #include <asm/ppc_asm.h> |
Stephen Rothwell | c111d0b | 2005-09-28 13:28:01 +1000 | [diff] [blame] | 19 | |
| 20 | .text |
| 21 | |
Paul Mackerras | d04c56f | 2006-10-04 16:47:49 +1000 | [diff] [blame] | 22 | /* Handle pending interrupts in interrupt context */ |
| 23 | _GLOBAL(iseries_handle_interrupts) |
Stephen Rothwell | c111d0b | 2005-09-28 13:28:01 +1000 | [diff] [blame] | 24 | li r0,0x5555 |
| 25 | sc |
| 26 | blr |