mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
parisc: show number of FPE and unaligned access handler calls in /proc/interrupts
Show number of floating point assistant and unaligned access fixup handler in /proc/interrupts file. Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <linux/signal.h>
|
||||
#include <linux/ratelimit.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/hardirq.h>
|
||||
|
||||
/* #define DEBUG_UNALIGNED 1 */
|
||||
|
||||
@@ -454,6 +455,8 @@ void handle_unaligned(struct pt_regs *regs)
|
||||
struct siginfo si;
|
||||
register int flop=0; /* true if this is a flop */
|
||||
|
||||
__inc_irq_stat(irq_unaligned_count);
|
||||
|
||||
/* log a message with pacing */
|
||||
if (user_mode(regs)) {
|
||||
if (current->thread.flags & PARISC_UAC_SIGBUS) {
|
||||
|
Reference in New Issue
Block a user