History log of /freebsd/sys/x86/linux/linux_vdso_selector_x86.c (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# 05416535 18-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Remove sys/cdefs.h inclusion under x86/linux due to 685dc743


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


Revision tags: release/13.2.0, release/12.4.0
# eadef926 24-Jul-2022 Dimitry Andric <dim@FreeBSD.org>

Adjust linux_vdso_{cpu,tsc}_selector_idx() definitions to avoid clang 15 warnings

With clang 15, the following -Werror warnings are produced:

sys/x86/linux/linux_vdso_selector_x86.c:44:28: erro

Adjust linux_vdso_{cpu,tsc}_selector_idx() definitions to avoid clang 15 warnings

With clang 15, the following -Werror warnings are produced:

sys/x86/linux/linux_vdso_selector_x86.c:44:28: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
linux_vdso_tsc_selector_idx()
^
void
sys/x86/linux/linux_vdso_selector_x86.c:62:28: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
linux_vdso_cpu_selector_idx()
^
void

This is because linux_vdso_tsc_selector_idx() and
linux_vdso_cpu_selector_idx are declared with (void) argument lists, but
defined with empty argument lists. Make the definitions match the
declarations.

MFC after: 3 days

show more ...


# 03473e8e 04-Jul-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Use saved cpu feature bits

MFC after: 3 days


Revision tags: release/13.1.0
# 5a6a4fb2 08-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Implement vdso getcpu for x86.

This is modeled after f2395455 (by kib@).

MFC after: 2 weeks