diff options
| author | Thomas Huth <thuth@redhat.com> | 2024-05-02 19:38:18 +0200 |
|---|---|---|
| committer | Brian Cain <brian.cain@oss.qualcomm.com> | 2025-01-30 18:45:45 -0800 |
| commit | e882d6f72caa9fca7b615c7bc88998717552e05e (patch) | |
| tree | d16503234429f771c3516dce4d63c3b37346aaf8 /arch/hexagon/include/uapi/asm | |
| parent | hexagon: time: Remove redundant null check for resource (diff) | |
| download | linux-e882d6f72caa9fca7b615c7bc88998717552e05e.tar.gz linux-e882d6f72caa9fca7b615c7bc88998717552e05e.zip | |
hexagon: Move kernel prototypes out of uapi/asm/setup.h header
The kernel function prototypes are of no use for userspace and
shouldn't get exposed in an uapi header, so let's move them into
an internal header instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20240502173818.58152-1-thuth@redhat.com
Signed-off-by: Brian Cain <bcain@quicinc.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Diffstat (limited to 'arch/hexagon/include/uapi/asm')
| -rw-r--r-- | arch/hexagon/include/uapi/asm/setup.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/hexagon/include/uapi/asm/setup.h b/arch/hexagon/include/uapi/asm/setup.h index 8ce9428b1583..598f74f671f6 100644 --- a/arch/hexagon/include/uapi/asm/setup.h +++ b/arch/hexagon/include/uapi/asm/setup.h @@ -17,19 +17,9 @@ * 02110-1301, USA. */ -#ifndef _ASM_SETUP_H -#define _ASM_SETUP_H - -#ifdef __KERNEL__ -#include <linux/init.h> -#else -#define __init -#endif +#ifndef _UAPI_ASM_HEXAGON_SETUP_H +#define _UAPI_ASM_HEXAGON_SETUP_H #include <asm-generic/setup.h> -extern char external_cmdline_buffer; - -void __init setup_arch_memory(void); - #endif |
