OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-426-g1ca9f8b
Gerrit Code Review
gerrit@openafs.org
Wed, 3 Jul 2024 09:45:16 -0400
The following commit has been merged in the master branch:
commit 1ca9f8b9995efa871d8ad9e82a71a983aa3794dc
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Dec 8 20:47:41 2022 -0600
LINUX: Stop using linux/config.h
The linux/config.h header has been useless since Linux 2.6.15 commit
2dd34b488a99135ad2a529e33087ddd6a09e992a ([PATCH] kbuild: permanently
fix kernel configuration include mess).
In Linux 2.6.19 commit 038b0a6d8d32db934bba6a24e74e76e4e327a94f
(Remove all inclusions of <linux/config.h>), included in some RHEL5
kernels, a #warning was added to it, which breaks building with
--enable-checking.
The header was removed entirely in Linux 2.6.20 commit
b0ac3f50b8f2cd992ffd36d22c82eabdf075e9c4 ([HEADERS] Put linux/config.h
out of its misery.).
Since the header has been unnecessary since 2.6.15, before our Linux
minimum version of 2.6.18, stop checking for the header at all. This
avoids an error with --enable-checking on RHEL5, and gets rid of a
configure-time check.
Change-Id: Ifa2cea7bd2c7911959910bdb8a6a01e0db016dd7
Reviewed-on: https://gerrit.openafs.org/15216
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
src/afs/LINUX/osi_probe.c | 3 ---
src/afs/LINUX/osi_sysctl.c | 3 ---
src/afs/sysincludes.h | 3 ---
src/cf/linux-kernel-header.m4 | 1 -
src/cf/linux-test3.m4 | 11 +----------
5 files changed, 1 insertion(+), 20 deletions(-)
--
OpenAFS Master Repository