]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common: Drop asm/ptrace.h from common header
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 17:40:06 +0000 (11:40 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 19 May 2020 01:19:23 +0000 (21:19 -0400)
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass <sjg@chromium.org>
39 files changed:
arch/arm/cpu/arm1136/mx35/timer.c
arch/arm/cpu/arm926ejs/mx25/timer.c
arch/arm/cpu/arm926ejs/mx27/timer.c
arch/arm/cpu/arm926ejs/spear/spl.c
arch/arm/cpu/arm926ejs/spear/timer.c
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/sec_firmware.c
arch/arm/lib/interrupts.c
arch/arm/lib/interrupts_64.c
arch/arm/mach-imx/sip.c
arch/arm/mach-meson/board-common.c
arch/arm/mach-meson/sm.c
arch/arm/mach-mvebu/arm64-common.c
arch/arm/mach-mvebu/armada8k/dram.c
arch/m68k/lib/interrupts.c
arch/m68k/lib/traps.c
arch/mips/lib/traps.c
arch/powerpc/cpu/mpc83xx/interrupts.c
arch/powerpc/cpu/mpc83xx/traps.c
arch/powerpc/cpu/mpc85xx/interrupts.c
arch/powerpc/cpu/mpc85xx/traps.c
arch/powerpc/cpu/mpc86xx/interrupts.c
arch/powerpc/cpu/mpc86xx/traps.c
arch/powerpc/cpu/mpc8xx/interrupts.c
arch/powerpc/cpu/mpc8xx/traps.c
arch/powerpc/lib/interrupts.c
arch/powerpc/lib/kgdb.c
arch/x86/cpu/i386/interrupt.c
arch/xtensa/cpu/exceptions.c
board/cavium/thunderx/atf.c
board/xilinx/zynqmp/zynqmp.c
cmd/bedbug.c
common/bedbug.c
common/kgdb.c
common/kgdb_stubs.c
drivers/clk/clk_versal.c
drivers/firmware/firmware-zynqmp.c
drivers/timer/mpc83xx_timer.c
include/common.h

index cb351ecf7694c58ec4f4a029a82698722c587ed1..f2541c398d89c4a6455aac8986efd7b355dd9d41 100644 (file)
@@ -11,6 +11,7 @@
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/crm_regs.h>
+#include <asm/ptrace.h>
 
 /* General purpose timers bitfields */
 #define GPTCR_SWR       (1<<15)        /* Software reset */
index 7e2698b60552f4170c1766472ce677f1d64d20c3..4b726d5c73f06547aa6b1f19814547b967cb4396 100644 (file)
@@ -23,6 +23,7 @@
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
+#include <asm/ptrace.h>
 
 /* nothing really to do with interrupts, just starts up a counter. */
 /* The 32KHz 32-bit timer overruns in 134217 seconds */
index 193588ea10bb149e0bb8907bc3c64bad95ebc34f..d6e1e09f93e33bd92b831ba51c5c20ca5caf8417 100644 (file)
@@ -21,6 +21,7 @@
 #include <time.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
+#include <asm/ptrace.h>
 
 /* General purpose timers bitfields */
 #define GPTCR_SWR              (1 << 15)       /* Software reset       */
index 7b14ba05b4613bedcf484479c50360a4586ab7d4..08b98a2d068357df75fc72cdf40561dd5d3ae4ba 100644 (file)
@@ -11,6 +11,7 @@
 #include <spl.h>
 #include <version.h>
 #include <asm/io.h>
+#include <asm/ptrace.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/spr_defs.h>
 #include <asm/arch/spr_misc.h>
index 9db1c74b369b900532eed60d1ebd0b24eb62c779..6803c349e845d90eb8d47748e5b479f85402eb23 100644 (file)
@@ -11,6 +11,7 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/spr_gpt.h>
 #include <asm/arch/spr_misc.h>
+#include <asm/ptrace.h>
 
 #define GPT_RESOLUTION (CONFIG_SPEAR_HZ_CLOCK / CONFIG_SPEAR_HZ)
 #define READ_TIMER()   (readl(&gpt_regs_p->count) & GPT_FREE_RUNNING)
index b7a455693f430df732bda42fafd8a6f09bfed948..3fcedd53ff43befba54acd83106949d16fd45a2c 100644 (file)
@@ -15,6 +15,7 @@
 #include <vsprintf.h>
 #include <asm/cache.h>
 #include <asm/io.h>
+#include <asm/ptrace.h>
 #include <linux/errno.h>
 #include <asm/system.h>
 #include <fm_eth.h>
index 789f9ca5667fb773b0232158e5d92dc34bd6af07..bfc0fac3eff2b76b92eb20b3484a86995a308ae9 100644 (file)
@@ -10,6 +10,7 @@
 #include <image.h>
 #include <log.h>
 #include <asm/cache.h>
+#include <asm/ptrace.h>
 #include <linux/kernel.h>
 #include <asm/io.h>
 #include <asm/system.h>
index 36299d6e54315d196db182e8110a02b3febf1ae1..703be5a3209c10a8d9840ced83aa1cb1aa2c06b8 100644 (file)
@@ -23,6 +23,7 @@
 #include <efi_loader.h>
 #include <irq_func.h>
 #include <asm/proc-armv/ptrace.h>
+#include <asm/ptrace.h>
 #include <asm/u-boot-arm.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index a2df7cf193c57966b8db2e634de58e6e1d1f3567..5299489013760b72d2a2664d02a74783aed1e2c3 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <asm/ptrace.h>
 #include <irq_func.h>
 #include <linux/compiler.h>
 #include <efi_loader.h>
index a4f0ab4886352d51c35ce31a44d2ffe3c7fa62a2..6cb8179ee8cb6684f85baf33ddaba06cf41753da 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/cache.h>
+#include <asm/ptrace.h>
 
 unsigned long call_imx_sip(unsigned long id, unsigned long reg0,
                           unsigned long reg1, unsigned long reg2,
index 2a93cd1811669c79f10c7029e2d2376319efecb2..19e5bfd3660cec36a5cfcad5dfaffc2247c9d0c0 100644 (file)
@@ -10,6 +10,7 @@
 #include <asm/arch/boot.h>
 #include <env.h>
 #include <asm/cache.h>
+#include <asm/ptrace.h>
 #include <linux/libfdt.h>
 #include <linux/err.h>
 #include <asm/arch/mem.h>
index e6da4de53434254d56a449ba8f9a12e3b94a2e7d..dd660769e2cc6343c10c7b8a8c7dd1da4ad011fd 100644 (file)
@@ -11,6 +11,7 @@
 #include <log.h>
 #include <asm/arch/sm.h>
 #include <asm/cache.h>
+#include <asm/ptrace.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
 #include <dm.h>
index 3a92a55a496c84526e0e8eddf4a2954e3de74dd4..c8c065e93c3b4e09aba8d1ceedab3b693a5a167e 100644 (file)
@@ -8,6 +8,7 @@
 #include <fdtdec.h>
 #include <init.h>
 #include <asm/cache.h>
+#include <asm/ptrace.h>
 #include <linux/libfdt.h>
 #include <linux/sizes.h>
 #include <pci.h>
index 265a8b0ae8a0b882ed590ac203c9e633f8bd7122..3da9fa589d27b09668f30438ae1c2365afe770d8 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
+#include <asm/ptrace.h>
 #include <asm/system.h>
 #include <linux/sizes.h>
 
index ddc91993a14f88bd8adaf672ddf1945838035b05..1caef61d20e966eea1ea9d24bcedfc998424aca6 100644 (file)
@@ -12,6 +12,7 @@
 #include <watchdog.h>
 #include <asm/processor.h>
 #include <asm/immap.h>
+#include <asm/ptrace.h>
 
 #define        NR_IRQS         (CONFIG_SYS_NUM_IRQS)
 
index 2ccd55add0c2a529c2a7cc4e45668c411be40f0e..c49141f376d3b46ce155e77fef5deabdc1b117da 100644 (file)
@@ -12,6 +12,7 @@
 #include <watchdog.h>
 #include <command.h>
 #include <asm/processor.h>
+#include <asm/ptrace.h>
 
 
 extern void _exc_handler(void);
index 20025b21994a14bd3dac9338af0e3ae315b5ab8e..b1ae02fcab8abd064b6a0000c017c6cc0a58f438 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <common.h>
+#include <asm/ptrace.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <init.h>
index 8d525dc83733565dfebec9aa9597a0f0b2cab6d0..d04f31df502116c4e6b9f8eae846df986439a99c 100644 (file)
@@ -11,6 +11,7 @@
 #include <irq_func.h>
 #include <mpc83xx.h>
 #include <asm/processor.h>
+#include <asm/ptrace.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 1c6c38b15f11ea26aa4bf66143c746dd8d693569..c3cc119d6542cbe712de611e4eb17cebc2d3f2cd 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <common.h>
+#include <asm/ptrace.h>
 #include <command.h>
 #include <kgdb.h>
 #include <asm/processor.h>
index e9da9c0d48f370a2fda8a96822afa6cf7f1d729a..4ad762683fb9d5f8331691a63f7cb3837e767b38 100644 (file)
@@ -21,6 +21,7 @@
 #ifdef CONFIG_POST
 #include <post.h>
 #endif
+#include <asm/ptrace.h>
 
 void interrupt_init_cpu(unsigned *decrementer_count)
 {
index bc2fc93e1109caa6cfcf798e74c7061297f57877..f37a45e2694ed4ec6720cdccedee2cf74e02f3df 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <common.h>
+#include <asm/ptrace.h>
 #include <command.h>
 #include <init.h>
 #include <irq_func.h>
index 033ca327f00c1fa8c4fb0e77023971667f10cec1..5a916600ed62f41504af078a40b0a9deb761d9d1 100644 (file)
@@ -24,6 +24,7 @@
 #ifdef CONFIG_POST
 #include <post.h>
 #endif
+#include <asm/ptrace.h>
 
 void interrupt_init_cpu(unsigned *decrementer_count)
 {
index 79bab913676a99ed9ed17c06850d41eccd663e82..c0161e3379ccc71dad60d38e8fb6df114593acb1 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <common.h>
+#include <asm/ptrace.h>
 #include <command.h>
 #include <init.h>
 #include <kgdb.h>
index 3efe8956ec57883823eb316925e59b685e309088..eef1951f2fd9b3e995d15759c8632a68081b6bbf 100644 (file)
@@ -12,6 +12,7 @@
 #include <asm/cpm_8xx.h>
 #include <asm/processor.h>
 #include <asm/io.h>
+#include <asm/ptrace.h>
 
 /************************************************************************/
 
index 899bcd86188a2779aacdf16f2a2a766632617101..56794b08a15558ede0429c3b44df557809e1e6dd 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include <common.h>
+#include <asm/ptrace.h>
 #include <command.h>
 #include <asm/processor.h>
 
index 64ee0cc21024f84b7a176cded82d8fdcf1a94fdb..73f270002cfcd015ed64cdd7feeee13579c3b504 100644 (file)
@@ -14,6 +14,7 @@
 #ifdef CONFIG_LED_STATUS
 #include <status_led.h>
 #endif
+#include <asm/ptrace.h>
 
 #ifndef CONFIG_MPC83XX_TIMER
 #ifndef CONFIG_SYS_WATCHDOG_FREQ
index 4a3e26cffc07f3ec09df52564f400dba1aebb8d7..8727d18884c427d4df25751cdf4e09aaa559e5bd 100644 (file)
@@ -1,6 +1,7 @@
 #include <common.h>
 #include <command.h>
 #include <kgdb.h>
+#include <asm/ptrace.h>
 #include <asm/signal.h>
 #include <asm/processor.h>
 
index e67a116ac1acf3111111b84216edf2baaa5b58fc..c0c4bc95fd9a0aaa7514cd555a9004bd5b62da9c 100644 (file)
@@ -23,6 +23,7 @@
 #include <asm/io.h>
 #include <asm/lapic.h>
 #include <asm/processor-flags.h>
+#include <asm/ptrace.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 3b8f4a36d3ec5fac47b7fb4581be54d4fbcfa45d..cf9af4326a2952d82e218b02665d9747aa520e18 100644 (file)
@@ -13,6 +13,7 @@
 #include <common.h>
 #include <command.h>
 #include <irq_func.h>
+#include <asm/ptrace.h>
 #include <asm/string.h>
 #include <asm/regs.h>
 
index f01ead4e2356f523f4b3255d979417ceaf73332f..64aa198765fecd0eb7faa20a9d4086996d27a3de 100644 (file)
@@ -7,6 +7,7 @@
 #include <command.h>
 #include <asm/cache.h>
 #include <asm/io.h>
+#include <asm/ptrace.h>
 
 #include <asm/system.h>
 #include <cavium/thunderx_svc.h>
index e880db1f8131387b4bd674dddf60acf756989545..fd6652ac3de8a2fa62b0bcff6c233c4f63333347 100644 (file)
@@ -23,6 +23,7 @@
 #include <asm/arch/psu_init_gpl.h>
 #include <asm/cache.h>
 #include <asm/io.h>
+#include <asm/ptrace.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <usb.h>
index 425ba4af1f40aa44f1ad4b7384fe210aaca3de1a..81ce2564805d1c59a8da51dff3b3578b9352de49 100644 (file)
@@ -6,6 +6,7 @@
 #include <cli.h>
 #include <command.h>
 #include <console.h>
+#include <asm/ptrace.h>
 #include <linux/ctype.h>
 #include <net.h>
 #include <bedbug/type.h>
index 42ecf61eff691db87b388b2edf96d0a7cb33c619..18a35ca23efea3a02564c3e4867af479439b9b33 100644 (file)
@@ -1,6 +1,7 @@
 /* $Id$ */
 
 #include <common.h>
+#include <asm/ptrace.h>
 
 #include <linux/ctype.h>
 #include <bedbug/bedbug.h>
index 312e14960aa8e232c7279f220567fa6c6cfc43a2..4493a1591986c3380df2c86d40a8996b1688b96a 100644 (file)
@@ -88,6 +88,7 @@
  ****************************************************************************/
 
 #include <common.h>
+#include <asm/ptrace.h>
 
 #include <kgdb.h>
 #include <command.h>
index c061126bed2a1103c98151816d9ad6614db75d82..66aed7cea1c7e268afcbb7274e1c71fa5208c0e8 100644 (file)
@@ -11,6 +11,7 @@
 #include <cpu_func.h>
 #include <kgdb.h>
 #include <serial.h>
+#include <asm/ptrace.h>
 
 int (*debugger_exception_handler)(struct pt_regs *);
 
index 0b1d45bdae2bec0e2d4b6c5e6b94e32e83b3356a..2fb3171d71fa76cbd0036582256b8bea88a4561f 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <log.h>
 #include <asm/cache.h>
+#include <asm/ptrace.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
 #include <linux/bitfield.h>
index 41089712b0884b2a2b931c8535c583fc44931add..2bdf7771f642fdabd2adb20ef39d471f6f1d8356 100644 (file)
@@ -10,6 +10,7 @@
 #include <log.h>
 #include <zynqmp_firmware.h>
 #include <asm/cache.h>
+#include <asm/ptrace.h>
 
 #if defined(CONFIG_ZYNQMP_IPI)
 #include <mailbox.h>
index 3ef56f144e80dbd9eb2c64d394ad38d0649705d4..186fe2b45ac9c8decfb65e4c1fb9ed5f173a68ff 100644 (file)
@@ -14,6 +14,7 @@
 #include <time.h>
 #include <timer.h>
 #include <watchdog.h>
+#include <asm/ptrace.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index b698e35fec18e6a731405a6a5bde5c8affd304fc..395d1d39018a5c743649f822010450e2aae4f92a 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/printk.h>
 #include <linux/string.h>
 #include <linux/stringify.h>
-#include <asm/ptrace.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <linux/kernel.h>