Re: [bigmem-patch] 4GB with Linux on IA32

David S. Miller (davem@redhat.com)
Mon, 16 Aug 1999 23:29:27 -0700


From: kanoj@google.engr.sgi.com (Kanoj Sarcar)
Date: Mon, 16 Aug 1999 16:28:58 -0700 (PDT)

For example, on a 2.2.10 kernel:
[kanoj@entity kern]$ gid __va | grep drivers
drivers/char/mem.c:124: if (copy_to_user(buf, __va(p), count))
drivers/char/mem.c:142: return do_write_mem(file, __va(p), p, buf, count, ppos);

Ok, this one could be a problem.

drivers/scsi/sym53c8xx.c:572:#define remap_pci_mem(base, size) ((u_long) __va(base))

Sparc specific ifdef'd code, it doesn't matter for ix86.

drivers/video/creatorfb.c
...
drivers/sbus/char/zs.c

More Sparc specific drivers.

So in essence there are only two spots in mem.c which you might need
to worry about on ix86.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/