[PATCH] Move subcall decoding configuration out of the common code
Chris Metcalf
cmetcalf at tilera.com
Tue May 7 15:42:28 UTC 2013
On 5/7/2013 11:38 AM, Dmitry V. Levin wrote:
> On Tue, May 07, 2013 at 09:30:45AM -0400, Mike Frysinger wrote:
>> > On Tuesday 07 May 2013 08:14:46 Chris Metcalf wrote:
>>> > > On 5/6/2013 7:43 PM, Dmitry V. Levin wrote:
>>>> > > > On Mon, May 06, 2013 at 03:21:38PM -0700, Chris Zankel wrote:
>>>>> > > >> The Xtensa architecture also used dedicated syscalls and doesn't
>>>>> > > >> need to multiplex ipc and socket subcalls.
>>>> > > >
>>>> > > > Applied, thanks.
>>> > >
>>> > > No new architecture will ever use the subcall model, so in fact it's
>>> > > probably cleaner to just list the ones that do use it.
>> >
>> > yeah, i was thinking it might be better to move those ifdefs out of the common
>> > code and just declare it in the relevant syscallent.h header
> Yes, something like this?
Rather than all the checks to see if SYS_socket_subcall has the right value, I'd just require all platforms to define it first, and then in linux/subcall.h, add an #ifndef to error out if it's not defined.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
More information about the Strace-devel
mailing list