]> git.hungrycats.org Git - linux/commit
[PATCH] run page_address_init() earlier
authorAndrew Morton <akpm@osdl.org>
Thu, 1 Apr 2004 05:52:20 +0000 (21:52 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 1 Apr 2004 05:52:20 +0000 (21:52 -0800)
commit15f4ae0ca83565197ebfcd0ef1d77a76cf200b00
tree1f116447c275d3bebb9251ddbb8557d49f3cd80a
parent840d5d40c89ac196a80d987138f9a8b155117220
[PATCH] run page_address_init() earlier

If someone runs page_address() before page_address_init(), the kernel locks
up over uninitialised spinlocks.

This only happens with the 4:4 patch, but it is more robust to run
page_address_init() before setup_arch().  page_address_init() simply
initialises statically allocated storage.
init/main.c