Skip to content

Commit 7000afb

Browse files
committed
dtrace: de-typedef translators
Some translated-from types in SDT macros need de-typedeffing. (Obviously, Coccinelle has a hard time seeing these, given that they are stringized and only parsed as a type at *runtime*.) Signed-off-by: Nick Alcock <[email protected]>
1 parent 3a87735 commit 7000afb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/sched/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ static inline void enqueue_task(struct rq *rq, struct task_struct *p, int flags)
735735
{
736736
DTRACE_SCHED(enqueue, struct task_struct * : (lwpsinfo_t *,
737737
psinfo_t *), p,
738-
cpuinfo_t *, rq->dtrace_cpu_info);
738+
struct cpuinfo *, rq->dtrace_cpu_info);
739739
if (!(flags & ENQUEUE_NOCLOCK))
740740
update_rq_clock(rq);
741741

@@ -751,7 +751,7 @@ static inline void dequeue_task(struct rq *rq, struct task_struct *p, int flags)
751751
{
752752
DTRACE_SCHED(dequeue, struct task_struct * : (lwpsinfo_t *,
753753
psinfo_t *), p,
754-
cpuinfo_t *, rq->dtrace_cpu_info,
754+
struct cpuinfo *, rq->dtrace_cpu_info,
755755
int, 0);
756756
if (!(flags & DEQUEUE_NOCLOCK))
757757
update_rq_clock(rq);

0 commit comments

Comments
 (0)