android_kernel_xiaomi_sm8350/arch/powerpc/platforms/iseries
David Gibson 3ddfbcf19b [PATCH] powerpc: Consolidate asm compatibility macros
This patch consolidates macros used to generate assembly for
compatibility across different CPUs or configs.  A new header,
asm-powerpc/asm-compat.h contains the main compatibility macros.  It
uses some preprocessor magic to make the macros suitable both for use
in .S files, and in inline asm in .c files.  Headers (bitops.h,
uaccess.h, atomic.h, bug.h) which had their own such compatibility
macros are changed to use asm-compat.h.

ppc_asm.h is now for use in .S files *only*, and a #error enforces
that.  As such, we're a lot more careless about namespace pollution
here than in asm-compat.h.

While we're at it, this patch adds a call to the PPC405_ERR77 macro in
futex.h which should have had it already, but didn't.

Built and booted on pSeries, Maple and iSeries (ARCH=powerpc).  Built
for 32-bit powermac (ARCH=powerpc) and Walnut (ARCH=ppc).

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-11-10 13:10:38 +11:00
..
call_hpt.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
call_pci.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
call_sm.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
htab.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hvcall.S powerpc: Get iseries to compile with ARCH=powerpc 2005-10-10 22:52:26 +10:00
hvlog.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hvlpconfig.c merge filename and modify reference to iseries/hv_lp_config.h 2005-11-02 11:55:28 +11:00
iommu.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
ipl_parms.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
irq.c ppc64: remove ppc_irq_dispatch_handler 2005-11-09 16:19:53 +11:00
irq.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
Kconfig powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
ksyms.c merge filename and modify references to iseries/hv_call_sc.h 2005-11-02 11:37:22 +11:00
lpardata.c Merge Paulus' tree 2005-11-02 18:15:43 +11:00
lpevents.c merge filename and modify references to iseries/it_lp_queue.h 2005-11-02 14:13:34 +11:00
main_store.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
Makefile powerpc: make iSeries boot again 2005-10-12 10:58:00 +10:00
mf.c merge filename and modify references to iseries/vio.h 2005-11-02 15:13:57 +11:00
misc.S [PATCH] powerpc: Consolidate asm compatibility macros 2005-11-10 13:10:38 +11:00
naca.h [PATCH] powerpc: Move naca.h to platforms/iseries 2005-11-02 16:05:53 +11:00
pci.c [PATCH] powerpc: Kill ppcdebug 2005-11-07 12:37:45 +11:00
pci.h powerpc: eliminate DsaAddr from pci_dn 2005-10-14 16:49:58 +10:00
proc.c merge filename and modify references to iseries/it_lp_queue.h 2005-11-02 14:13:34 +11:00
processor_vpd.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
release_data.h [PATCH] powerpc: Move naca.h to platforms/iseries 2005-11-02 16:05:53 +11:00
setup.c [PATCH] sched: resched and cpu_idle rework 2005-11-09 07:56:33 -08:00
setup.h powerpc: Merge machdep.h 2005-10-19 23:11:21 +10:00
smp.c [PATCH] powerpc: Kill ppcdebug 2005-11-07 12:37:45 +11:00
spcomm_area.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
vio.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
viopath.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
vpd_areas.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
vpdinfo.c merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00