How to track down sys_reboot function in Linux kernel for ARM architecture

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
We have Beaglebone Black based custom board, with Linux 4.4.
I wanted to track down the low level function corresponding to the reboot() system call.
I am able to see sys_reboot() in include/uapi/asm-generic/unistd.h however I am not able to get to definition of the sys_reboot function.
Where can I find the definition of sys_reboot in the kernel source?
linux-kernel embedded arm beagleboneblack
add a comment |Â
up vote
1
down vote
favorite
We have Beaglebone Black based custom board, with Linux 4.4.
I wanted to track down the low level function corresponding to the reboot() system call.
I am able to see sys_reboot() in include/uapi/asm-generic/unistd.h however I am not able to get to definition of the sys_reboot function.
Where can I find the definition of sys_reboot in the kernel source?
linux-kernel embedded arm beagleboneblack
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
We have Beaglebone Black based custom board, with Linux 4.4.
I wanted to track down the low level function corresponding to the reboot() system call.
I am able to see sys_reboot() in include/uapi/asm-generic/unistd.h however I am not able to get to definition of the sys_reboot function.
Where can I find the definition of sys_reboot in the kernel source?
linux-kernel embedded arm beagleboneblack
We have Beaglebone Black based custom board, with Linux 4.4.
I wanted to track down the low level function corresponding to the reboot() system call.
I am able to see sys_reboot() in include/uapi/asm-generic/unistd.h however I am not able to get to definition of the sys_reboot function.
Where can I find the definition of sys_reboot in the kernel source?
linux-kernel embedded arm beagleboneblack
edited Dec 16 '17 at 17:38
Stephen Kitt
143k22309372
143k22309372
asked Dec 15 '17 at 21:15
AnkurTank
3562825
3562825
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
The reboot system call is defined in kernel/reboot.c â look for SYSCALL_DEFINE4(reboot.
For ARM systems youâÂÂll probably be interested in the ARM-specific support in arch/arm/kernel/reboot.c, and perhaps in machine-specific support in one of the arch/arm/mach-⦠directories.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
The reboot system call is defined in kernel/reboot.c â look for SYSCALL_DEFINE4(reboot.
For ARM systems youâÂÂll probably be interested in the ARM-specific support in arch/arm/kernel/reboot.c, and perhaps in machine-specific support in one of the arch/arm/mach-⦠directories.
add a comment |Â
up vote
1
down vote
The reboot system call is defined in kernel/reboot.c â look for SYSCALL_DEFINE4(reboot.
For ARM systems youâÂÂll probably be interested in the ARM-specific support in arch/arm/kernel/reboot.c, and perhaps in machine-specific support in one of the arch/arm/mach-⦠directories.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
The reboot system call is defined in kernel/reboot.c â look for SYSCALL_DEFINE4(reboot.
For ARM systems youâÂÂll probably be interested in the ARM-specific support in arch/arm/kernel/reboot.c, and perhaps in machine-specific support in one of the arch/arm/mach-⦠directories.
The reboot system call is defined in kernel/reboot.c â look for SYSCALL_DEFINE4(reboot.
For ARM systems youâÂÂll probably be interested in the ARM-specific support in arch/arm/kernel/reboot.c, and perhaps in machine-specific support in one of the arch/arm/mach-⦠directories.
answered Dec 15 '17 at 21:52
Stephen Kitt
143k22309372
143k22309372
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411144%2fhow-to-track-down-sys-reboot-function-in-linux-kernel-for-arm-architecture%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password