android_kernel_xiaomi_sm8350/arch
Jeff Dike c539ab7307 uml: remove PAGE_SIZE from libc code
Distros seem to be removing PAGE_SIZE from asm/page.h.  So, the libc side of
UML should stop using it.

I replace it with UM_KERN_PAGE_SIZE, which is defined to be the same as
PAGE_SIZE on the kernel side of the house.  I could also use getpagesize(),
but it's more important that UML have the same value of PAGE_SIZE everywhere.
It's conceivable that it could be built with a larger PAGE_SIZE, and use of
getpagesize() would break that badly.

PAGE_MASK got the same treatment, as it is closely tied to PAGE_SIZE.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-16 13:16:16 -07:00
..
alpha ALPHA: misc fixes 2007-06-01 08:18:29 -07:00
arm [ARM] 4445/1: ANUBIS: Fix CPLD registers 2007-06-11 09:09:34 +01:00
arm26 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
avr32 [AVR32] STK1000: Set SPI_MODE_3 in the ltv350qv board info 2007-06-14 18:30:50 +02:00
blackfin Blackfin arch: make sure we initialize our L1 Data B section properly based on the linked kernel 2007-06-14 13:33:37 +08:00
cris
frv all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
h8300 h8300 trival patches 2007-06-01 08:18:29 -07:00
i386 perfctr-watchdog: fix interchanged parameters to release_{evntsel,perfctr}_nmi 2007-06-16 13:16:15 -07:00
ia64 [IA64] acpi_get_sysname() should be __init 2007-05-24 10:59:44 -07:00
m32r all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
m68k m68k: parenthesis balance 2007-06-01 08:18:27 -07:00
m68knommu m68knommu: fix ColdFire timer off by 1 2007-06-08 17:23:32 -07:00
mips [MIPS] Fix builds where MSC01E_xxx is undefined. 2007-06-14 18:25:15 +01:00
parisc [PARISC] remove global_ack_eiem 2007-06-12 01:23:30 -04:00
powerpc [POWERPC] Fix console output getting dropped on platforms without udbg_putc 2007-06-14 11:56:17 +10:00
ppc potential parse error in ifdef part 3 2007-06-08 17:23:33 -07:00
s390 [S390] Fix section annotations. 2007-05-31 17:38:11 +02:00
sh sh: Fix se73180 platform device registration. 2007-06-04 11:07:23 +09:00
sh64 potential parse error in ifdef part 3 2007-06-08 17:23:33 -07:00
sparc [SPARC32]: Build fix. 2007-05-31 01:52:51 -07:00
sparc64 [SPARC64]: Fix args to sun4v_ldc_revoke(). 2007-06-13 00:01:27 -07:00
um uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
v850 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
x86_64 x86_64: oops_begin() fix 2007-06-08 17:23:34 -07:00
xtensa [XTENSA] Remove non-rt signal handling 2007-05-31 17:49:32 -07:00