kernel-ark/arch/ppc64/kernel
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
..
vdso32 kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
vdso64 powerpc: Make some #includes explicit. 2005-10-10 14:14:55 +10:00
align.c
asm-offsets.c [PATCH] powerpc: Merge thread_info.h 2005-10-21 22:47:23 +10:00
bitops.c
bpa_iic.c [PATCH] ppc64: fix IPI on bpa_iic 2005-09-09 22:11:34 +10:00
bpa_iic.h [PATCH] ppc64: Add driver for BPA interrupt controllers 2005-06-23 09:43:43 +10:00
bpa_iommu.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
bpa_iommu.h [PATCH] ppc64: Add driver for BPA iommu 2005-06-23 09:43:54 +10:00
bpa_nvram.c [PATCH] ppc64: add a minimal nvram driver 2005-06-23 09:43:31 +10:00
bpa_setup.c ppc64: Change ppc_md.get_cpuinfo to ppc_md.show_cpuinfo 2005-10-20 17:02:01 +10:00
btext.c [PATCH] remove linux/version.h include from arch/ppc64 2005-09-06 16:57:46 +10:00
cpu_setup_power4.S [PATCH] merge some from Rusty's trivial patches 2005-09-10 10:06:30 -07:00
dma.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
eeh.c powerpc: Move iSeries_pci.c to powerpc/platform/iseries 2005-09-28 02:50:25 +10:00
entry.S powerpc: change sys32_ to compat_sys_ 2005-10-18 14:51:57 +10:00
firmware.c [PATCH] ppc64: make firmware_has_feature() stronger 2005-08-29 10:53:35 +10:00
head.S [PATCH] powerpc: Merge thread_info.h 2005-10-21 22:47:23 +10:00
hvconsole.c [PATCH] hvc_console: Separate the NUL character filtering from get_hvc_chars 2005-07-07 18:23:40 -07:00
hvcserver.c
i8259.c
i8259.h
idle.c powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
ioctl32.c
iomap.c Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/ppc64-2.6 2005-09-09 10:38:02 -07:00
iommu.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
irq.c Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6 2005-06-30 08:48:56 -07:00
kprobes.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
lparcfg.c [PATCH] ppc64: Allow world readable /proc/ppc64/lparcfg 2005-09-06 16:07:54 +10:00
machine_kexec.c [PATCH] ppc64: Add missing barrier() in kexec code 2005-09-28 07:46:41 -07:00
Makefile ppc64: Use the merged mpic.c 2005-10-20 21:06:44 +10:00
maple_pci.c ppc: rename pci_assign_all_busses to pci_assign_all_buses 2005-10-20 20:57:05 +10:00
maple_setup.c powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
maple_time.c powerpc/ppc/ppc64: Various compile fixes. 2005-10-20 21:10:09 +10:00
misc.S [PATCH] powerpc: Merge thread_info.h 2005-10-21 22:47:23 +10:00
module.c [PATCH] ppc64: Add R_PPC64_TOC16 module reloc 2005-10-11 09:46:54 -07:00
nvram.c [PATCH] ppc64: simplify nvram partition scanning code 2005-06-28 20:33:49 +10:00
pacaData.c [PATCH] ppc64: Add VMX save flag to VPA 2005-09-05 00:06:01 -07:00
pci_direct_iommu.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
pci_dn.c powerpc: Move iSeries_pci.c to powerpc/platform/iseries 2005-09-28 02:50:25 +10:00
pci_iommu.c powerpc: move iSeries/iSeries_pci.h to platforms/iseries 2005-10-14 14:51:42 +10:00
pci.c powerpc: Move iSeries_pci.c to powerpc/platform/iseries 2005-09-28 02:50:25 +10:00
pmac_feature.c [PATCH] powerpc: Remove sections use from ppc64 and drivers 2005-09-19 09:38:49 +10:00
pmac_low_i2c.c
pmac_nvram.c powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
pmac_pci.c ppc: rename pci_assign_all_busses to pci_assign_all_buses 2005-10-20 20:57:05 +10:00
pmac_setup.c ppc64: Change ppc_md.get_cpuinfo to ppc_md.show_cpuinfo 2005-10-20 17:02:01 +10:00
pmac_smp.c powerpc: clean up after powermac build merge 2005-09-27 13:51:59 +10:00
pmac_time.c powerpc: Move some calculations from xxx_calibrate_decr to time_init 2005-10-20 21:04:51 +10:00
pmac.h powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
ppc_ksyms.c powerpc: move more iSeries code 2005-09-28 13:28:01 +10:00
proc_ppc64.c [PATCH] ppc64: add BPA platform type 2005-06-23 09:43:37 +10:00
prom_init.c [PATCH] ppc64: Fix issue with non zero boot cpu 2005-09-21 10:11:54 -07:00
prom.c ppc64: Use the merged lmb routines 2005-10-10 20:49:07 +10:00
ras.c [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
rtas_flash.c
rtas_pci.c powerpc: Move iSeries_pci.c to powerpc/platform/iseries 2005-09-28 02:50:25 +10:00
rtas-proc.c powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
rtas.c powerpc: Make some #includes explicit. 2005-10-10 14:14:55 +10:00
rtasd.c [PATCH] ppc64: replace schedule_timeout() with msleep_interruptible() 2005-09-05 00:06:01 -07:00
rtc.c powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
scanlog.c [PATCH] ppc64: replace schedule_timeout() with msleep_interruptible() 2005-09-05 00:06:01 -07:00
semaphore.c
setup.c [PATCH] Fix broken initialization of conswitchp for ARCH=ppc64 2005-10-21 22:47:09 +10:00
signal.c [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
smp-tbsync.c
smp.c powerpc: Move smp_mpic_message_pass into mpic.c 2005-10-20 17:09:51 +10:00
spider-pic.c [PATCH] ppc64: Add driver for BPA interrupt controllers 2005-06-23 09:43:43 +10:00
sysfs.c [PATCH] ppc64: add number of PMCs to cputable 2005-09-06 16:09:20 +10:00
u3_iommu.c powerpc: Move iSeries_pci.c to powerpc/platform/iseries 2005-09-28 02:50:25 +10:00
udbg_16550.c [PATCH] ppc64: Remove old includes 2005-09-06 16:07:37 +10:00
udbg_scc.c [PATCH] ppc64: Remove old includes 2005-09-06 16:07:37 +10:00
udbg.c [PATCH] ppc64: iSeries early printk breakage 2005-09-09 22:11:34 +10:00
vdso.c [PATCH] error path in setup_arg_pages() misses vm_unacct_memory() 2005-09-14 11:18:13 -07:00
vio.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
vmlinux.lds.S powerpc: Reduce the 32/64-bit diffs in vmlinux.lds.S 2005-10-10 22:38:46 +10:00
xics.c [PATCH] ppc64: xics cleanup 2005-09-12 17:19:12 +10:00