mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 04:44:03 +00:00
Fix the following build warning:
usr/include/asm/papr-platform-dump.h:12: found __[us]{8,16,32,64} type without #include <linux/types.h>
Fixes: 8aa9efc0be ("powerpc/pseries: Add papr-platform-dump character driver for dump retrieval")
Closes: https://lore.kernel.org/linux-next/[email protected]/
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Haren Myneni <[email protected]>
Tested-by: Venkat Rao Bagalkote <[email protected]>
[Maddy: fixed the commit to combine tags together]
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
17 lines
528 B
C
17 lines
528 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _UAPI_PAPR_PLATFORM_DUMP_H_
|
|
#define _UAPI_PAPR_PLATFORM_DUMP_H_
|
|
|
|
#include <linux/types.h>
|
|
#include <asm/ioctl.h>
|
|
#include <asm/papr-miscdev.h>
|
|
|
|
/*
|
|
* ioctl for /dev/papr-platform-dump. Returns a platform-dump handle fd
|
|
* corresponding to dump tag.
|
|
*/
|
|
#define PAPR_PLATFORM_DUMP_IOC_CREATE_HANDLE _IOW(PAPR_MISCDEV_IOC_ID, 6, __u64)
|
|
#define PAPR_PLATFORM_DUMP_IOC_INVALIDATE _IOW(PAPR_MISCDEV_IOC_ID, 7, __u64)
|
|
|
|
#endif /* _UAPI_PAPR_PLATFORM_DUMP_H_ */
|