summaryrefslogtreecommitdiff
path: root/include/asm-alpha
diff options
context:
space:
mode:
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>2002-09-10 17:55:58 -0700
committerJens Axboe <axboe@hera.kernel.org>2002-09-10 17:55:58 -0700
commite91208b7a79a581d1acece8fa6f33cfa50b7dcf2 (patch)
tree4f9bdcc19cc734f7e59251b2cdfc43765fc7dc54 /include/asm-alpha
parent6ebbf06bbd101ab572bdf581e5baec320f61848a (diff)
[PATCH] alpha update
- signal update; make do_signal use generic get_signal_to_deliver() - irqs_disabled macro - remove vmlinux.lds.s target from arch/alpha/Makefile since it works correctly in the top level Makefile - extra argument for pcibios_enable_device (most likely we'll never use it though...)
Diffstat (limited to 'include/asm-alpha')
-rw-r--r--include/asm-alpha/signal.h1
-rw-r--r--include/asm-alpha/system.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-alpha/signal.h b/include/asm-alpha/signal.h
index 8730c4b833fe..07f843f72edc 100644
--- a/include/asm-alpha/signal.h
+++ b/include/asm-alpha/signal.h
@@ -186,7 +186,6 @@ struct sigstack {
#ifdef __KERNEL__
#include <asm/sigcontext.h>
-#define HAVE_ARCH_GET_SIGNAL_TO_DELIVER
#define HAVE_ARCH_SYS_PAUSE
#endif
diff --git a/include/asm-alpha/system.h b/include/asm-alpha/system.h
index 8e5848df6369..6342ed4efdbd 100644
--- a/include/asm-alpha/system.h
+++ b/include/asm-alpha/system.h
@@ -311,6 +311,8 @@ extern int __min_ipl;
#define local_irq_save(flags) do { (flags) = swpipl(IPL_MAX); barrier(); } while(0)
#define local_irq_restore(flags) do { barrier(); setipl(flags); barrier(); } while(0)
+#define irqs_disabled() (getipl() == IPL_MAX)
+
/*
* TB routines..
*/