Re: about relocs.c on x86

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Harvey Harrison <harvey.harrison@...>
Cc: Yinghai Lu <yhlu.kernel@...>, Linux Kernel Mailing List <linux-kernel@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>
Date: Thursday, January 31, 2008 - 6:11 am

* Harvey Harrison <harvey.harrison@gmail.com> wrote:


no strong opinion from me - but i think it should be obvious to the 
developer when they are looking at a .c file that it's 32-bit only (or 
64-bit only). I.e. the default is that whatever .c file we look at is 
unified - and in that sense relocs.c breaks that general expectation.

In fact renaming it to _32.c might spur its unification: people might 
say "hm, this would be handy on 64-bit as well". We might even do that 
to directories - so that for example arch/x86/math-emu/ would become 
arch/x86/match-emu_32/.

( Hey, and maybe someone is crazy enough to try to port the math-emu 
  code to 64-bit and boot Linux up on 64-bit with all user-space FPU ops 
  emulated. It would be one of the most useless hacks of all times, and 
  that certainly has a certain kind of sick appeal to it, doesnt it? ;-))

but it's really not a big issue, we can certainly leave it alone and 
observe the situation as more stuff gets unified. I'd expect it all fall 
into place naturally.

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

Messages in current thread:
about relocs.c on x86, Yinghai Lu, (Thu Jan 31, 4:07 am)
Re: about relocs.c on x86, Ingo Molnar, (Thu Jan 31, 5:52 am)
Re: about relocs.c on x86, Harvey Harrison, (Thu Jan 31, 6:02 am)
Re: about relocs.c on x86, Ingo Molnar, (Thu Jan 31, 6:11 am)
Re: about relocs.c on x86, H. Peter Anvin, (Thu Jan 31, 1:47 pm)
Re: about relocs.c on x86, Sam Ravnborg, (Thu Jan 31, 6:38 am)
Re: about relocs.c on x86, Ingo Molnar, (Thu Jan 31, 8:04 am)
Re: about relocs.c on x86, Harvey Harrison, (Thu Jan 31, 6:44 am)
Re: about relocs.c on x86, Harvey Harrison, (Thu Jan 31, 6:21 am)
Re: about relocs.c on x86, Chris Snook, (Thu Jan 31, 4:33 am)
Re: about relocs.c on x86, Yinghai Lu, (Thu Jan 31, 5:13 am)
Re: about relocs.c on x86, Chris Snook, (Thu Jan 31, 5:17 am)