2002-03-21 17:21:57

by Chris Meadors

[permalink] [raw]
Subject: [PATCH] Needed to get 2.5.7 to compile and link on Alpha [9/10]

One line addition to make the header match that of the i386.

-Chris


--- linux-2.5.7/include/asm-alpha/thread_info.h~ Wed Mar 20 05:07:15 2002
+++ linux-2.5.7/include/asm-alpha/thread_info.h Wed Mar 20 11:38:27 2002
@@ -20,6 +20,7 @@
struct exec_domain *exec_domain; /* execution domain */
mm_segment_t addr_limit; /* thread address space */
int cpu; /* current CPU */
+ int preempt_count; /* 0 => preemptable, <0 => BUG */

int bpt_nsaved;
unsigned long bpt_addr[2]; /* breakpoint handling */