1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Based on arch/arm/lib/memchr.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 a character in an area of memory.
20 * x0 - address of first occurrence of 'c' or 0
34 EXPORT_SYMBOL_NOKASAN(memchr)