commit | c723e084606ca1c81e91b80b2c0c44bde7bbc4df | [log] [tgz] |
---|---|---|
author | Chuck Ebbert <76306.1226@compuserve.com> | Tue Jun 27 02:53:47 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Jun 27 17:32:37 2006 -0700 |
tree | c338f62586978093d7c6b85c3f783cb65879c1f1 | |
parent | 4b89aff930d632be10d557d08d1b60dee7163dbe [diff] |
[PATCH] i386: use C code for current_thread_info() Using C code for current_thread_info() lets the compiler optimize it. With gcc 4.0.2, kernel is smaller: text data bss dec hex filename 3645212 555556 312024 4512792 44dc18 2.6.17-rc6-nb-post/vmlinux 3647276 555556 312024 4514856 44e428 2.6.17-rc6-nb/vmlinux ------- -2064 Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>