| Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
| 3 | * linux/arch/arm/lib/io-acorn.S |
| 4 | * |
| 5 | * Copyright (C) 1995, 1996 Russell King |
| 6 | * |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | * 27/03/03 Ian Molton Clean up CONFIG_CPU |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | */ |
| 9 | #include <linux/linkage.h> |
| Joe Perches | 0cc41e4 | 2012-07-30 14:40:12 -0700 | [diff] [blame] | 10 | #include <linux/kern_levels.h> |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #include <asm/assembler.h> |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
| 13 | .text |
| 14 | .align |
| 15 | |
| Nicolas Pitre | a9c4814 | 2005-11-11 21:51:48 +0000 | [diff] [blame] | 16 | .Liosl_warning: |
| Joe Perches | 0cc41e4 | 2012-07-30 14:40:12 -0700 | [diff] [blame] | 17 | .ascii KERN_WARNING "insl/outsl not implemented, called from %08lX\0" |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | .align |
| 19 | |
| 20 | /* |
| 21 | * These make no sense on Acorn machines. |
| 22 | * Print a warning message. |
| 23 | */ |
| 24 | ENTRY(insl) |
| 25 | ENTRY(outsl) |
| Nicolas Pitre | a9c4814 | 2005-11-11 21:51:48 +0000 | [diff] [blame] | 26 | adr r0, .Liosl_warning |
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | mov r1, lr |
| 28 | b printk |