mips: Replace __ASSEMBLY__ with __ASSEMBLER__ in the mips headersWhile the GCC and Clang compilers already define __ASSEMBLER__automatically when compiling assembler code, __ASSEMBLY__ is a macro
mips: Replace __ASSEMBLY__ with __ASSEMBLER__ in the mips headersWhile the GCC and Clang compilers already define __ASSEMBLER__automatically when compiling assembler code, __ASSEMBLY__ is a macrothat only gets defined by the Makefiles in the kernel. Definingsuch a macro was necessary in the early days of the kernel, since GCConly started providing __ASSEMBLER__ since version 3.0 in 2000 (seehttps://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f8f769ea4e69 ).However, having two macros can be very confusing nowadays for thedevelopers when switching between userspace and kernelspace coding,or when dealing with uapi headers that should use __ASSEMBLER__instead. So let's now standardize on the __ASSEMBLER__ macro that isprovided by the compilers.This is almost a completely mechanical patch (done with a simple"sed -i" statement), with just one comment tweaked manually inarch/mips/include/asm/cpu.h (that was missing some underscores).Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>Cc: linux-mips@vger.kernel.orgReviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>Reviewed-by: Maciej W. Rozycki <macro@orcam.me.uk>Signed-off-by: Thomas Huth <thuth@redhat.com>Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
show more ...
MIPS: SGI-IP27: use generic PCI driverConverted bridge code to a platform driver using the PCI generic driverframework and use adding platform devices during xtalk scan. This allowseasier sharing
MIPS: SGI-IP27: use generic PCI driverConverted bridge code to a platform driver using the PCI generic driverframework and use adding platform devices during xtalk scan. This allowseasier sharing bridge driver for other SGI platforms like IP30 (Octane) andIP35 (Origin 3k, Fuel, Tezro).Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>[paul.burton@mips.com: - Leave __phys_to_dma(), __dma_to_phys() & pcibus_to_node() in arch/mips/pci/pci-ip27.c since the motivation for moving them disappeared when the driver stopped being moved to drivers/pci.]Signed-off-by: Paul Burton <paul.burton@mips.com>Cc: Ralf Baechle <ralf@linux-mips.org>Cc: James Hogan <jhogan@kernel.org>Cc: linux-mips@vger.kernel.orgCc: linux-kernel@vger.kernel.org
MIPS: Xtalk: Update xwidget.h with known Xtalk device numbersThis is the first patch of two to clean up/update the Xtalk detectioncode used by IP27 with some of the code used in the IP30 port.Th
MIPS: Xtalk: Update xwidget.h with known Xtalk device numbersThis is the first patch of two to clean up/update the Xtalk detectioncode used by IP27 with some of the code used in the IP30 port.This specific patch adds Xtalk widget manufacturer and widget devicenumbers to arch/mips/include/asm/xtalk/widget.hSigned-off-by: Joshua Kinard <kumba@gentoo.org>Cc: Linux MIPS List <linux-mips@linux-mips.org>Patchwork: http://patchwork.linux-mips.org/patch/10174/Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: IP27: Fix build errors with CONFIG_PCI disabled. LD init/built-in.oarch/mips/built-in.o: In function `xtalk_probe_node':(.cpuinit.text+0x67c): undefined reference to `bridge_probe'ar
MIPS: IP27: Fix build errors with CONFIG_PCI disabled. LD init/built-in.oarch/mips/built-in.o: In function `xtalk_probe_node':(.cpuinit.text+0x67c): undefined reference to `bridge_probe'arch/mips/built-in.o: In function `xtalk_probe_node':(.cpuinit.text+0x7d8): undefined reference to `bridge_probe'Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Whitespace cleanup.Having received another series of whitespace patches I decided to do thisonce and for all rather than dealing with this kind of patches tricklingin forever.Signed-off-b
MIPS: Whitespace cleanup.Having received another series of whitespace patches I decided to do thisonce and for all rather than dealing with this kind of patches tricklingin forever.Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Move headfiles to new location below arch/mips/includeSigned-off-by: Ralf Baechle <ralf@linux-mips.org>