Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/asm-ppc64
David Gibson 6cb7bfebb1 [PATCH] powerpc: Merge thread_info.h
Merge ppc32 and ppc64 versions of thread_info.h.  They were pretty
similar already, the chief changes are:

	- Instead of inline asm to implement current_thread_info(),
which needs to be different for ppc32 and ppc64, we use C with an
asm("r1") register variable.  gcc turns it into the same asm as we
used to have for both platforms.
	- We replace ppc32's 'local_flags' with the ppc64
'syscall_noerror' field.  The noerror flag was in fact the only thing
in the local_flags field anyway, so the ppc64 approach is simpler, and
means we only need a load-immediate/store instead of load/mask/store
when clearing the flag.
	- In readiness for 64k pages, when THREAD_SIZE will be less
than a page, ppc64 used kmalloc() rather than get_free_pages() to
allocate the kernel stack.  With this patch we do the same for ppc32,
since there's no strong reason not to.
	- For ppc64, we no longer export THREAD_SHIFT and THREAD_SIZE
via asm-offsets, thread_info.h can now be safely included in asm, as
on ppc32.

Built and booted on G4 Powerbook (ARCH=ppc and ARCH=powerpc) and
Power5 (ARCH=ppc64 and ARCH=powerpc).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-10-21 22:47:23 +10:00
..
iSeries powerpc: move iSeries/HvCallPci.h to platforms/iseries/call_pci.h 2005-10-14 17:16:17 +10:00
abs_addr.h powerpc: move iSeries/iSeries_pci.h to platforms/iseries 2005-10-14 14:51:42 +10:00
bitops.h [PATCH] powerpc: merge atomic.h, memory.h 2005-09-25 22:38:46 +10:00
bootinfo.h
btext.h
cache.h
cacheflush.h
checksum.h
compat.h [PATCH] compat: be more consistent about [ug]id_t 2005-09-07 16:57:19 -07:00
current.h
dart.h ppc64: Fix typo in iommu cleanups that broke pmac build. 2005-09-27 14:24:18 +10:00
delay.h
dma-mapping.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
eeh.h [PATCH] basic iomem annotations (ppc64) 2005-09-09 10:31:57 -07:00
firmware.h [PATCH] ppc64: introduce FW_FEATURE_ISERIES 2005-08-29 10:53:35 +10:00
floppy.h
futex.h [PATCH] powerpc: merge atomic.h, memory.h 2005-09-25 22:38:46 +10:00
hvcall.h [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
hvconsole.h
hvcserver.h
ide.h
imalloc.h [PATCH] Four level pagetables for ppc64 2005-08-29 10:53:31 +10:00
io.h [PATCH] powerpc: merge atomic.h, memory.h 2005-09-25 22:38:46 +10:00
ipcbuf.h
kexec.h
lppaca.h [PATCH] ppc64: Add VMX save flag to VPA 2005-09-05 00:06:01 -07:00
mmu.h ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel() 2005-09-23 14:47:58 +10:00
mmu_context.h
mmzone.h
naca.h [PATCH] Remove NACA fixed address constraint 2005-08-29 10:53:33 +10:00
numnodes.h
nvram.h
paca.h
page.h [PATCH] powerpc: Merged ppc_asm.h 2005-09-19 09:38:49 +10:00
parport.h
pci-bridge.h powerpc/ppc/ppc64: Various compile fixes. 2005-10-20 21:10:09 +10:00
pci.h [PATCH] Make sparc64 use setup-res.c 2005-09-08 14:57:25 -07:00
pgalloc.h [PATCH] Four level pagetables for ppc64 2005-08-29 10:53:31 +10:00
pgtable.h [PATCH] ppc64: four level pagetables fix 2005-08-30 12:08:10 +10:00
plpar_wrappers.h [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
ppc32.h powerpc: merge ppc signal.c and ppc64 signal32.c 2005-10-18 11:17:58 +10:00
ppcdebug.h
prom.h powerpc: move iSeries/iSeries_pci.h to platforms/iseries 2005-10-14 14:51:42 +10:00
ptrace-common.h [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
ptrace.h [PATCH] ppc64: Add definitions for new PTRACE calls 2005-09-12 17:19:12 +10:00
scatterlist.h
serial.h
sigcontext.h
signal.h
smp.h powerpc: Move smp_mpic_message_pass into mpic.c 2005-10-20 17:09:51 +10:00
sparsemem.h
spinlock.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
sstep.h
stat.h
system.h ppc64: Use merged versions of init_task.c and process.c. 2005-10-11 22:09:48 +10:00
systemcfg.h
tce.h [PATCH] ppc64: Updated Olof iommu updates 2/3 2005-09-21 19:21:07 +10:00
tlb.h
tlbflush.h Merge by hand from Linus' tree. 2005-09-29 13:13:36 +10:00
uaccess.h [PATCH] ppc64 get_user annotations 2005-09-29 08:46:27 -07:00
ucontext.h
udbg.h [PATCH] ppc64: Consolidate early console and PPCDBG code 2005-09-06 16:07:37 +10:00
vdso.h
vio.h [PATCH] Make MODULE_DEVICE_TABLE work for vio devices 2005-08-30 13:31:56 +10:00
xics.h [PATCH] ppc64: fix for kexec boot issue 2005-08-04 13:00:55 -07:00