2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 17:53:56 +08:00
linux-next/arch/powerpc/lib
David Gibson 3356bb9f7b [PATCH] powerpc: Remove lppaca structure from the PACA
At present the lppaca - the structure shared with the iSeries
hypervisor and phyp - is contained within the PACA, our own low-level
per-cpu structure.  This doesn't have to be so, the patch below
removes it, making a separate array of lppaca structures.

This saves approximately 500*NR_CPUS bytes of image size and kernel
memory, because we don't need aligning gap between the Linux and
hypervisor portions of every PACA.  On the other hand it means an
extra level of dereference in many accesses to the lppaca.

The patch also gets rid of several places where we assign the paca
address to a local variable for no particular reason.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-13 21:17:39 +11:00
..
bitops.c powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
checksum_32.S powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
checksum_64.S powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
copy_32.S ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
copypage_64.S [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
copyuser_64.S [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
div64.S powerpc: Fix a corner case in __div64_32 2005-10-20 09:37:02 +10:00
e2a.c powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
locks.c [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
Makefile [PATCH] powerpc: Merge bitops.h 2005-11-01 21:49:02 +11:00
mem_64.S powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
memcpy_64.S powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00
rheap.c powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
sstep.c powerpc: Make single-stepping emulation (mostly) usable on 32-bit 2005-10-28 22:48:08 +10:00
strcase.c powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
string.S powerpc: Use reg.h instead of processor.h when we just want reg names 2005-10-10 22:20:10 +10:00
usercopy_64.c powerpc: Rename files to have consistent _32/_64 suffixes 2005-10-10 21:52:43 +10:00