2.1.114 linux/include/linux/sched.h problem - followup

Bob_Tracy (rct@gherkin.sa.wlk.com)
Mon, 3 Aug 1998 17:10:07 -0500 (CDT)


I wrote:
>Moving INIT_LOCKS from the end of the INIT_TASK definition broke
>compilation for the non-SMP case. What's the correct fix?
>Unconditionally define INIT_LOCKS to be SPIN_LOCK_UNLOCKED?

Nope. That won't cut it. DaveM's comment about some versions of gcc
dumping core when an empty structure constant is parsed at the end of
a large top level structure initialization definitely applies to
gcc-2.7.2.3. gcc-2.8.1 is fine, and I would assume that egcs compilers
are probably ok as well.

-- 
Bob Tracy               |  "They couldn't hit an elephant at this dist- "
Firewall Security Corp. |   - Last words of Union General John Sedgwick,
rct@frus.com            |  Battle of Spotsylvania Court House, U.S. Civil War

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html