diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-09 18:26:47 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-09 18:26:47 +0000 |
commit | eb1a565927c0fdcd89be41f6d063c458539cca8d (patch) | |
tree | 098888cc3dadfbd978e9381d069dd8346b6d6adc /xen/include/xen/mm.h | |
parent | bc69003d96068102da46008481e5e449f2ef9b7d (diff) | |
download | xen-eb1a565927c0fdcd89be41f6d063c458539cca8d.tar.gz xen-eb1a565927c0fdcd89be41f6d063c458539cca8d.tar.bz2 xen-eb1a565927c0fdcd89be41f6d063c458539cca8d.zip |
xen: New vcpu_op commands for setting periodic and single-shot timers.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/mm.h')
-rw-r--r-- | xen/include/xen/mm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/include/xen/mm.h b/xen/include/xen/mm.h index 8de9acaaab..a94d4efdb0 100644 --- a/xen/include/xen/mm.h +++ b/xen/include/xen/mm.h @@ -92,6 +92,11 @@ extern struct list_head page_scrub_list; if ( !list_empty(&page_scrub_list) ) \ raise_softirq(PAGE_SCRUB_SOFTIRQ); \ } while ( 0 ) +#define page_scrub_kick() \ + do { \ + if ( !list_empty(&page_scrub_list) ) \ + cpumask_raise_softirq(cpu_online_map, PAGE_SCRUB_SOFTIRQ); \ + } while ( 0 ) unsigned long avail_scrub_pages(void); #include <asm/mm.h> |