summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 10:47:13 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 11:49:07 -0800
commit387bcf8bad11196967943a3352b9eb0d0f1f897e (patch)
treecd80fac2a4ba5cc3790be6bcc5cd963da6a9e920
parentc31f9dcc8055fdf6b5ff2cc59fef89e1cf09a0ab (diff)
unifdef FRAGILE_DEV_MEM
It was only defined in the old Imakefiles, and not in any autoconf config Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xdm/genauth.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xdm/genauth.c b/xdm/genauth.c
index 696d6ce..4f154dd 100644
--- a/xdm/genauth.c
+++ b/xdm/genauth.c
@@ -326,14 +326,6 @@ AddPreGetEntropy (void)
AddTimerEntropy();
if ((readlen = sumFile (randomFile, BSIZ, SEEK_SET, offset)) == BSIZ) {
offset += readlen;
-# ifdef FRAGILE_DEV_MEM
- if (!strcmp (randomFile, "/dev/mem")) {
- if (offset == 0xa0000) /* skip 640kB-1MB ROM mappings */
- offset = 0x100000;
- else if (offset == 0xf00000) /* skip 15-16MB memory hole */
- offset = 0x1000000;
- }
-# endif
return;
} else if (readlen >= 0 && offset) {
if ((offset = sumFile (randomFile, BSIZ, SEEK_SET, 0)) == BSIZ)