original_kernel/include/asm-ppc64
David Gibson 533f08172e [PATCH] ppc64: dynamically allocate segment tables
PPC64 machines before Power4 need a segment table page allocated for each
CPU.  Currently these are allocated statically in a big array in head.S for
all CPUs.  The segment tables need to be in the first segment (so
do_stab_bolted doesn't take a recursive fault on the stab itself), but
other than that there are no constraints which require the stabs for the
secondary CPUs to be statically allocated.

This patch allocates segment tables dynamically during boot, using
lmb_alloc() to ensure they are within the first 256M segment.  This reduces
the kernel image size by 192k...

Tested on RS64 iSeries, POWER3 pSeries, and POWER5.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-27 16:25:58 -07:00
..
iSeries [PATCH] ppc64: kill bitfields in ppc64 hash code 2005-07-13 11:25:25 -07:00
8253pit.h
a.out.h
abs_addr.h
agp.h
atomic.h
bitops.h
bootinfo.h
btext.h
bug.h
bugs.h
byteorder.h [PATCH] headers: enable ppc64 ___arch__swab16 and ___arch__swab32 2005-06-28 21:20:32 -07:00
cache.h
cacheflush.h
checksum.h
compat.h
cputable.h [PATCH] ppc64: Fix runlatch code to work on pseries machines 2005-07-07 18:23:37 -07:00
cputime.h
current.h
dbdma.h
delay.h
div64.h
dma-mapping.h
dma.h
eeh.h
elf.h
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
errno.h
fcntl.h
floppy.h
hardirq.h
hdreg.h
hvcall.h
hvconsole.h [PATCH] hvc_console: Register ops when setting up hvc_console 2005-07-07 18:23:39 -07:00
hvcserver.h
hw_irq.h
ide.h
imalloc.h
io.h
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
irq.h
kdebug.h
kexec.h [PATCH] ppc64: kexec support for ppc64 2005-06-25 16:24:51 -07:00
keylargo.h
kmap_types.h
kprobes.h [PATCH] Return probe redesign: ppc64 specific implementation 2005-06-27 15:23:53 -07:00
linkage.h
lmb.h
local.h
lppaca.h
machdep.h [PATCH] ppc64: kill bitfields in ppc64 hash code 2005-07-13 11:25:25 -07:00
macio.h
mc146818rtc.h
memory.h
mman.h
mmu.h [PATCH] ppc64: dynamically allocate segment tables 2005-07-27 16:25:58 -07:00
mmu_context.h
mmzone.h
module.h
msgbuf.h
naca.h
namei.h
numnodes.h
nvram.h
of_device.h
pSeries_reconfig.h
paca.h [PATCH] ppc64: Simplify counting of lpevents, remove lpevent_count from paca 2005-06-30 15:16:09 +10:00
page.h
param.h
parport.h
pci-bridge.h
pci.h [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
percpu.h
pgalloc.h
pgtable.h
plpar_wrappers.h
pmac_feature.h
pmac_low_i2c.h
pmc.h
poll.h
posix_types.h
ppc32.h
ppc_asm.h
ppcdebug.h
processor.h [PATCH] ppc64: Turn runlatch on in exception entry 2005-07-07 18:23:37 -07:00
prom.h
ptrace-common.h
ptrace.h
resource.h
rtas.h
rwsem.h
scatterlist.h
seccomp.h
sections.h
segment.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
smu.h
socket.h
sockios.h
sparsemem.h
spinlock.h
sstep.h
stat.h
statfs.h
string.h
system.h
systemcfg.h
termbits.h
termios.h
thread_info.h
time.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
udbg.h
unaligned.h
uninorth.h
unistd.h [PATCH] ppc64: remove duplicate syscall reservation 2005-07-07 18:23:37 -07:00
user.h
vdso.h
vga.h
vio.h
xics.h [PATCH] ppc64: kexec support for ppc64 2005-06-25 16:24:51 -07:00
xor.h