Changeset 40043e8 in mainline for kernel/generic/include/shutdown.h


Ignore:
Timestamp:
2019-07-18T08:25:42Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
0116f21
Parents:
2cc569a3
Message:

Restructering halt/reboot files

The function halt() and reboot() used to be stored
in two different c files and two different header
files which were named differently than the c files.
This commit merges those two functions into the
same file and provides an unique header file (shutdown.h)
for accessing them.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/shutdown.h

    r2cc569a3 r40043e8  
    3333 */
    3434
    35 #ifndef KERN_HALT_H_
    36 #define KERN_HALT_H_
     35#ifndef KERN_SHUTDOWN_H_
     36#define KERN_SHUTDOWN_H_
    3737
    3838#include <atomic.h>
     
    4141
    4242extern void halt(void) __attribute__((noreturn));
     43extern void reboot(void);
     44extern void arch_reboot(void);
    4345
    4446#endif
Note: See TracChangeset for help on using the changeset viewer.