| ############################################################################### |
| # Fast profiling interrupt handler |
| # Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| # Written by David Howells (dhowells@redhat.com) |
| # This program is free software; you can redistribute it and/or |
| # modify it under the terms of the GNU General Public Licence |
| # as published by the Free Software Foundation; either version |
| # 2 of the Licence, or (at your option) any later version. |
| ############################################################################### |
| #include <linux/linkage.h> |
| #include <asm/intctl-regs.h> |
| #include <asm/timer-regs.h> |
| ############################################################################### |
| # Profiling interrupt entry point |
| # - intended to run at interrupt priority 1 |
| ############################################################################### |
| # do nothing if there's no buffer |
| # calculate relative position in text segment |
| # increment the appropriate profile bucket |
| movbu d2,(TM11ICR) # ACK the interrupt |