1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Based on arch/arm/lib/strrchr.S
5 * Copyright (C) 1995-2000 Russell King
6 * Copyright (C) 2013 ARM Ltd.
9 #include <linux/linkage.h>
10 #include <asm/assembler.h>
13 * Find the last occurrence of a character in a string.
19 * x0 - address of last occurrence of 'c' or 0
33 EXPORT_SYMBOL_NOKASAN(strrchr)