Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Arnaldo Carvalho de Melo | 1e6e7ea | 2017-05-04 10:30:40 -0300 | [diff] [blame] | 2 | #ifndef _GNU_SOURCE |
Arnaldo Carvalho de Melo | 120010c | 2017-03-02 12:55:49 -0300 | [diff] [blame] | 3 | #define _GNU_SOURCE |
Arnaldo Carvalho de Melo | 1e6e7ea | 2017-05-04 10:30:40 -0300 | [diff] [blame] | 4 | #endif |
Arnaldo Carvalho de Melo | 120010c | 2017-03-02 12:55:49 -0300 | [diff] [blame] | 5 | #include <sched.h> |
6 | |||||
7 | int main(void) | ||||
8 | { | ||||
9 | return sched_getcpu(); | ||||
10 | } |