mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-04-03 12:05:13 +02:00
The vdso.h header file, which is included at many places, includes generated header files. This can easily lead to recursive header file inclusions if the vdso code is changed. Therefore move the vdso symbol code, which requires the generated header files, to a separate header file, and include it at the two locations which require it. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
23 lines
388 B
C
23 lines
388 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __S390_VDSO_H__
|
|
#define __S390_VDSO_H__
|
|
|
|
#include <vdso/datapage.h>
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
extern struct vdso_data *vdso_data;
|
|
|
|
int vdso_getcpu_init(void);
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
/* Default link address for the vDSO */
|
|
#define VDSO_LBASE 0
|
|
|
|
#define __VVAR_PAGES 2
|
|
|
|
#define VDSO_VERSION_STRING LINUX_2.6.29
|
|
|
|
#endif /* __S390_VDSO_H__ */
|