Files
Masahiro Yamada 51e4064179 sparc: revive __HAVE_ARCH_STRLEN for 32bit sparc
Prior to commit 70a6fcf328 ("[sparc] unify 32bit and 64bit string.h"),
__HAVE_ARCH_STRLEN was defined in both of string_32.h and string_64.h

It did not unify __HAVE_ARCH_STRLEN, but deleted it from string_32.h

This issue was reported by the kbuild test robot in the trial of
forcible linking of $(lib-y) to vmlinux.

Fixes: 70a6fcf328 ("[sparc] unify 32bit and 64bit string.h")
Reported-by: kbuild test robot <[email protected]>
Suggested-by: Nick Desaulniers <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Acked-by: David S. Miller <[email protected]>
2020-03-25 10:19:43 +09:00

16 lines
409 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* string.h: External definitions for optimized assembly string
* routines for the Linux Kernel.
*
* Copyright (C) 1995,1996 David S. Miller ([email protected])
* Copyright (C) 1996,1997,1999 Jakub Jelinek ([email protected])
*/
#ifndef __SPARC64_STRING_H__
#define __SPARC64_STRING_H__
#include <asm/asi.h>
#endif /* !(__SPARC64_STRING_H__) */