lkml.org 
[lkml]   [2019]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: sched: make struct task_struct::state 32-bit
From
Date
> @funcmatch@
> identifier func;
> identifier p;
> identifier state_var;
> @@
>
> func(..., struct task_struct *p, ...
> - , long state_var
> + , int state_var
> ,...)
> {
> ...
> }

> Which seems to be doing roughly what I want.

Can a transformation approach like the following work also
for your software?

@replacement@

identifier func, p, state_var;

@@

func(...,
struct task_struct *p,
...
,
- long
+ int
state_var
,
...)

{

...

}



Regards,
Markus

\
 
 \ /
  Last update: 2019-09-05 17:53    [W:0.085 / U:3.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site