android_kernel_xiaomi_sm8350/arch/arm/include/asm
Russell King dde5828f56 ARM: Fix broken highmem support
Currently, highmem is selectable, and you can request an increased
vmalloc area.  However, none of this has any effect on the memory
layout since a patch in the highmem series was accidentally dropped.
Moreover, even if you did want highmem, all memory would still be
registered as lowmem, possibly resulting in overflow of the available
virtual mapping space.

The highmem boundary is determined by the highest allowed beginning
of the vmalloc area, which depends on its configurable minimum size
(see commit 60296c71f6 for details on
this).

We should create mappings and initialize bootmem only for low memory,
while the zone allocator must still be told about highmem.

Currently, memory nodes which are completely located in high memory
are not supported.  This is not a huge limitation since systems
relying on highmem support are unlikely to have discontiguous memory
with large holes.

[ A similar patch was meant to be merged before commit 5f0fbf9eca
  and be available  in Linux v2.6.30, however some git rebase screw-up
  of mine dropped the first commit of the series, and that goofage
  escaped testing somehow as well. -- Nico ]

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Nicolas Pitre <nico@marvell.com>
2009-08-15 12:36:00 +01:00
..
hardware Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel 2009-06-14 11:00:16 +01:00
mach omap iommu: simple virtual address space management 2009-05-19 08:23:49 +03:00
a.out-core.h
a.out.h
assembler.h [ARM] barriers: improve xchg, bitops and atomic SMP barriers 2009-05-28 19:39:27 +01:00
atomic.h ARM: includecheck fix: atomic.h 2009-07-25 17:07:01 +01:00
auxvec.h
bitops.h
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h
bugs.h
byteorder.h
cache.h [ARM] 5534/1: kmalloc must return a cache line aligned buffer 2009-06-02 22:36:15 +01:00
cacheflush.h [ARM] 5545/2: add flush_kernel_dcache_page() for ARM 2009-06-14 11:20:37 +01:00
cachetype.h
checksum.h
clkdev.h
cpu-multi32.h
cpu-single.h
cpu.h
cputime.h
cputype.h Check whether the TLB operations need broadcasting on SMP systems 2009-05-30 14:00:14 +01:00
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
domain.h
ecard.h
elf.h [ARM] 5507/1: support R_ARM_MOVW_ABS_NC and MOVT_ABS relocation types 2009-05-07 17:21:01 +01:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fiq.h
fixmap.h
flat.h flat: fix data sections alignment 2009-05-29 08:40:02 -07:00
floppy.h
fpstate.h
ftrace.h
futex.h
glue.h
gpio.h
hardirq.h
highmem.h
hw_irq.h
hwcap.h
ide.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h
irqflags.h
Kbuild
kdebug.h
kexec.h
kgdb.h
kmap_types.h
kprobes.h
leds.h
limits.h
linkage.h
local.h
localtimer.h [ARM] smp: allow re-use of realview localtimer TWD support 2009-05-17 19:16:41 +01:00
locks.h
mc146818rtc.h
memory.h
mman.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
mmu_context.h
mmu.h
mmzone.h
module.h
msgbuf.h
mtd-xip.h
mutex.h
nwflash.h
page-nommu.h
page.h [ARM] 5565/2: Use PAGE_SIZE and RO_DATA() in link script 2009-06-25 14:00:59 +01:00
param.h
parport.h
pci.h Delete pcibios_select_root 2009-06-17 14:04:42 -07:00
percpu.h
pgalloc.h
pgtable-hwdef.h
pgtable-nommu.h
pgtable.h [ARM] pgtable: file pte layout documentation 2009-07-05 15:31:35 +01:00
poll.h
posix_types.h
proc-fns.h
processor.h Add core support for ARMv6/v7 big-endian 2009-05-30 14:00:18 +01:00
procinfo.h
ptrace.h Add core support for ARMv6/v7 big-endian 2009-05-30 14:00:18 +01:00
resource.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h ARM: Fix broken highmem support 2009-08-15 12:36:00 +01:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
sizes.h [ARM] Kirkwood: create a mapping for the Security Accelerator SRAM 2009-06-08 13:05:02 -04:00
smp_scu.h [ARM] smp: separate SCU support code from realview 2009-05-17 19:00:37 +01:00
smp_twd.h [ARM] smp: allow re-use of realview localtimer TWD support 2009-05-17 19:16:41 +01:00
smp.h [ARM] smp: use new cpumask functions 2009-05-28 14:16:52 +01:00
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h
stacktrace.h
stat.h
statfs.h
string.h
swab.h
system.h [ARM] Add cmpxchg support for ARMv6+ systems (v5) 2009-05-28 21:10:31 +01:00
termbits.h
termios.h
therm.h
thread_info.h sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
thread_notify.h
timex.h
tlb.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h Check whether the TLB operations need broadcasting on SMP systems 2009-05-30 14:00:14 +01:00
topology.h
traps.h
types.h
uaccess.h [ARM] allow for alternative __copy_to_user/__clear_user implementations 2009-05-29 22:34:45 -04:00
ucontext.h
unaligned.h
unistd.h [ARM] wire up rt_tgsigqueueinfo and perf_counter_open 2009-06-20 22:25:45 +01:00
unwind.h
user.h
vfp.h
vfpmacros.h
vga.h
xor.h