score: add missing #includes
Files that define a global function should #include the header with its declaration to make sure that the prototypes do not diverge. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
e831a9c618
commit
9fb24cc500
|
@ -0,0 +1 @@
|
|||
#include <asm-generic/ucontext.h>
|
|
@ -23,6 +23,7 @@
|
|||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <linux/moduleloader.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/vmalloc.h>
|
||||
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/reboot.h>
|
||||
#include <linux/elfcore.h>
|
||||
#include <linux/pm.h>
|
||||
|
||||
void (*pm_power_off)(void);
|
||||
EXPORT_SYMBOL(pm_power_off);
|
||||
|
|
|
@ -27,7 +27,9 @@
|
|||
#include <linux/signal.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm-generic/ucontext.h>
|
||||
|
||||
#include <asm/syscalls.h>
|
||||
#include <asm/ucontext.h>
|
||||
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
#include <linux/mman.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/syscalls.h>
|
||||
#include <asm/syscalls.h>
|
||||
|
||||
unsigned long shm_align_mask = PAGE_SIZE - 1;
|
||||
EXPORT_SYMBOL(shm_align_mask);
|
||||
|
|
Loading…
Reference in New Issue