about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/personality.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-12-29 15:27:56 +0100
committerAurelien Jarno <aurelien@aurel32.net>2015-12-30 23:31:18 +0100
commitcc42170ef6ca931c7527a86f14fc66059b6dfff4 (patch)
treec045a8adfc7ceff63279f2c9187ff4541f63dec1 /sysdeps/unix/sysv/linux/personality.c
parenta82cd945b54958f2ee8d1503eee20fd521f1c236 (diff)
downloadglibc-cc42170ef6ca931c7527a86f14fc66059b6dfff4.tar.gz
glibc-cc42170ef6ca931c7527a86f14fc66059b6dfff4.tar.xz
glibc-cc42170ef6ca931c7527a86f14fc66059b6dfff4.zip
Cleanup ARM ioperm implementation (step 2)
Since GLIBC requires a minimum 2.6.32 kernel, the sysctl (CTL_BUS,
CTL_BUS_ISA, ISA_*) is always available.  We can therefore remove the
fallback code reading /etc/arm_systype or parsing /proc/cpuinfo.

Remove fscanf from localplt.data as it is no longer called from within
GLIBC.

	* sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
	(PATH_ARM_SYSTYPE): Remove.
	(PATH_CPUINFO): Likewise.
	(IO_BASE_FOOTBRIDGE): Likewise.
	(IO_SHIFT_FOOTBRIDGE): Likewise.
	(struct platform): Likewise.
	(init_iosys): Remove compatibility code for 2.4 kernels.
	* sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
Diffstat (limited to 'sysdeps/unix/sysv/linux/personality.c')
0 files changed, 0 insertions, 0 deletions