diff options
Diffstat (limited to 'arch/powerpc/platforms/iseries/misc.S')
| -rw-r--r-- | arch/powerpc/platforms/iseries/misc.S | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/misc.S b/arch/powerpc/platforms/iseries/misc.S new file mode 100644 index 00000000000..2c6ff0fdac9 --- /dev/null +++ b/arch/powerpc/platforms/iseries/misc.S | |||
| @@ -0,0 +1,26 @@ | |||
| 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> | ||
| 18 | #include <asm/ppc_asm.h> | ||
| 19 | |||
| 20 | .text | ||
| 21 | |||
| 22 | /* Handle pending interrupts in interrupt context */ | ||
| 23 | _GLOBAL(iseries_handle_interrupts) | ||
| 24 | li r0,0x5555 | ||
| 25 | sc | ||
| 26 | blr | ||
