Files
ubports_kernel_google_msm/arch/powerpc/kernel
Benjamin Herrenschmidt 5b11abfdb5 powerpc/pci: mmap anonymous memory when legacy_mem doesn't exist
The new legacy_mem file in sysfs is causing problems with X on machines
that don't support legacy memory access. The way I initially implemented
it, we would fail with -ENXIO when trying to mmap it, thus exposing to
X that we do support the API but there is no legacy memory.

Unfortunately, X poor error handling is causing it to fail to start when
it gets this error.

This implements a workaround hack that instead maps anonymous memory
instead (using shmem if VM_SHARED is set, just like /dev/zero does).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-02-10 14:39:08 +11:00
..
2008-12-21 14:21:16 +11:00
2008-12-21 14:21:16 +11:00
2008-12-21 14:21:16 +11:00
2008-12-03 20:46:36 +11:00
2008-12-31 18:07:42 -05:00
2008-12-21 14:21:16 +11:00
2008-11-05 22:08:28 +11:00
2008-12-31 15:11:46 +01:00
2008-10-22 22:55:20 -07:00
2008-12-21 14:21:16 +11:00