mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-18 12:31:11 +00:00
Prior to commit 70a6fcf3283a ("[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: 70a6fcf3283a ("[sparc] unify 32bit and 64bit string.h")
Reported-by: kbuild test robot <lkp@intel.com>
Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
16 lines
409 B
C
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 (davem@caip.rutgers.edu)
|
|
* Copyright (C) 1996,1997,1999 Jakub Jelinek (jakub@redhat.com)
|
|
*/
|
|
|
|
#ifndef __SPARC64_STRING_H__
|
|
#define __SPARC64_STRING_H__
|
|
|
|
#include <asm/asi.h>
|
|
|
|
#endif /* !(__SPARC64_STRING_H__) */
|