sched/headers/uapi: Fix linux/sched/types.h userspace compilation errors
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 5 Jul 2017 16:23:28 +0000 (19:23 +0300)
committerIngo Molnar <mingo@kernel.org>
Sat, 8 Jul 2017 09:17:55 +0000 (11:17 +0200)
commit242fc35290bd8cf0effc6e3474e3a417985de2f3
treede6fed9ae06d700bef5edabe6d2182ba83fdf944
parent65a4433aebe36c8c6abeb69b99ef00274b971c6c
sched/headers/uapi: Fix linux/sched/types.h userspace compilation errors

Consistently use types provided by <linux/types.h> to fix the following
linux/sched/types.h userspace compilation errors:

  /usr/include/linux/sched/types.h:57:2: error: unknown type name 'u32'
    u32 size;
  ...
  u64 sched_period;

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org # v4.12
Fixes: e2d1e2aec572 ("sched/headers: Move various ABI definitions to <uapi/linux/sched/types.h>")
Link: http://lkml.kernel.org/r/20170705162328.GA11026@altlinux.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/uapi/linux/sched/types.h