Re: [PATCH 1/2] Add thread_info_cache_init() to all archs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <benh@...>
Cc: <linux-arch@...>, <linux-m32r@...>, <takata@...>, <linux-kernel@...>, <linuxppc-dev@...>, <paulus@...>, <LukeBrowning@...>
Date: Wednesday, May 21, 2008 - 4:52 pm

On Wed, 21 May 2008 15:44:41 -0400
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:


istr that sticking an asm(""); in the weak function was a reliable
workaround.  If we are going to to that it should be via

/* comment goes here */
#define gcc_screws_up_weak_stuff() asm("")

but that approach didn't seem very popular.  It's a _bit_ fragile I
guess, but it's pretty easy to grep for missed workarounds.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Wed Apr 9, 11:22 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Andrew Morton, (Sun Apr 13, 8:19 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Sun Apr 13, 8:38 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Andrew Morton, (Sun Apr 13, 10:13 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Thu Apr 17, 11:58 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Kyle McMartin, (Fri Apr 18, 12:21 am)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Andrew Morton, (Fri Apr 18, 12:19 am)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Fri Apr 18, 2:44 am)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Wed May 21, 1:56 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Andrew Morton, (Wed May 21, 2:41 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Wed May 21, 3:44 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Andrew Morton, (Wed May 21, 4:52 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Wed May 21, 4:38 pm)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Michael Ellerman, (Fri Apr 18, 12:38 am)
Re: [PATCH 1/2] Add thread_info_cache_init() to all archs, Benjamin Herrenschmidt, (Thu Apr 10, 5:46 pm)