kgdb.c (c13aca79ff3c4af5fd31a5b2743a90eba6e36a26) | kgdb.c (9ef7fa507d6b53a96de4da3298c5f01bde603c0a) |
---|---|
1/* 2 * AArch64 KGDB support 3 * 4 * Based on arch/arm/kernel/kgdb.c 5 * 6 * Copyright (C) 2013 Cavium Inc. 7 * Author: Vijaya Kumar K <vijaya.kumar@caviumnetworks.com> 8 * --- 275 unchanged lines hidden (view full) --- 284 .fn = kgdb_step_brk_fn 285}; 286 287static void kgdb_call_nmi_hook(void *ignored) 288{ 289 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); 290} 291 | 1/* 2 * AArch64 KGDB support 3 * 4 * Based on arch/arm/kernel/kgdb.c 5 * 6 * Copyright (C) 2013 Cavium Inc. 7 * Author: Vijaya Kumar K <vijaya.kumar@caviumnetworks.com> 8 * --- 275 unchanged lines hidden (view full) --- 284 .fn = kgdb_step_brk_fn 285}; 286 287static void kgdb_call_nmi_hook(void *ignored) 288{ 289 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); 290} 291 |
292void kgdb_roundup_cpus(unsigned long flags) | 292void kgdb_roundup_cpus(void) |
293{ 294 local_irq_enable(); 295 smp_call_function(kgdb_call_nmi_hook, NULL, 0); 296 local_irq_disable(); 297} 298 299static int __kgdb_notify(struct die_args *args, unsigned long cmd) 300{ --- 80 unchanged lines hidden --- | 293{ 294 local_irq_enable(); 295 smp_call_function(kgdb_call_nmi_hook, NULL, 0); 296 local_irq_disable(); 297} 298 299static int __kgdb_notify(struct die_args *args, unsigned long cmd) 300{ --- 80 unchanged lines hidden --- |