]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/processor.h
PCI: add stub for pci_set_consistent_dma_mask()
[linux-2.6-omap-h63xx.git] / include / asm-arm / processor.h
index 1bbf16182d62ab4bfabd3c13e065d8280c38ccd9..bd8029e8dc67fd19cc6ed02f5f62f0debb074dd1 100644 (file)
 #include <asm/ptrace.h>
 #include <asm/types.h>
 
+#ifdef __KERNEL__
+#define STACK_TOP      ((current->personality == PER_LINUX_32BIT) ? \
+                        TASK_SIZE : TASK_SIZE_26)
+#define STACK_TOP_MAX  TASK_SIZE
+#endif
+
 union debug_insn {
        u32     arm;
        u16     thumb;