add intptr_tAdd signed intptr_t given that a) it is standard type and b) uintptr_t isin tree.Link: https://lkml.kernel.org/r/ed66b9e4-1fb7-45be-9bb9-d4bc291c691f@p183Signed-off-by: Alexey Dobri
add intptr_tAdd signed intptr_t given that a) it is standard type and b) uintptr_t isin tree.Link: https://lkml.kernel.org/r/ed66b9e4-1fb7-45be-9bb9-d4bc291c691f@p183Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
show more ...
MIPS: CFE: Add cfe_die()Add a cfe_die() implementation which is useful when the kernel does anearly panic and no console is registered. This allows us to printuseful diagnostics such as an invali
MIPS: CFE: Add cfe_die()Add a cfe_die() implementation which is useful when the kernel does anearly panic and no console is registered. This allows us to printuseful diagnostics such as an invalid DTB having beenconfigured/selected.Since the BMIPS_GENERIC kernel can be built with support for multipleprocessors, we need to do a runtime determination of the type of CPUthat we are executing on to perform the appropriate XKS01 disabling.Since cfe_init() + cfe_die() could be conceivably called at very earlystages of the kernel boot, before cpu_probe(), we do not rely on thestructure(s) populated by cpu_probe().Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of th
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usaextracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-laterhas been chosen to replace the boilerplate/reference in 1334 file(s).Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Reviewed-by: Allison Randal <allison@lohutok.net>Reviewed-by: Richard Fontana <rfontana@redhat.com>Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.deSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MIPS: sibyte: Declare the cfe_write() buffer as constantThe write() prototype expects a const char * as argument so declareit as such.Fixes the following build problem:arch/mips/sibyte/common/
MIPS: sibyte: Declare the cfe_write() buffer as constantThe write() prototype expects a const char * as argument so declareit as such.Fixes the following build problem:arch/mips/sibyte/common/cfe_console.c:23:5: error: passing argument 2 of'cfe_write' discards 'const' qualifier from pointer target type [-Werror]arch/mips/sibyte/common/cfe_console.c:34:4: error: passing argument 2 of'cfe_write' makes pointer from integer without a cast [-Werror]Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>Cc: sibyte-users@bitmover.comCc: linux-mips@linux-mips.orgPatchwork: https://patchwork.linux-mips.org/patch/5485/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>