lkml.org 
[lkml]   [2023]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 09/24] powerpc: Remove COMMAND_LINE_SIZE from uapi
    Date
    From: Palmer Dabbelt <palmer@rivosinc.com>

    As far as I can tell this is not used by userspace and thus should not
    be part of the user-visible API.

    Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
    ---
    arch/powerpc/include/asm/setup.h | 2 +-
    arch/powerpc/include/uapi/asm/setup.h | 2 --
    2 files changed, 1 insertion(+), 3 deletions(-)

    diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h
    index e29e83f8a89c..31786d1db2ef 100644
    --- a/arch/powerpc/include/asm/setup.h
    +++ b/arch/powerpc/include/asm/setup.h
    @@ -2,7 +2,7 @@
    #ifndef _ASM_POWERPC_SETUP_H
    #define _ASM_POWERPC_SETUP_H

    -#include <uapi/asm/setup.h>
    +#define COMMAND_LINE_SIZE 2048

    #ifndef __ASSEMBLY__
    extern void ppc_printk_progress(char *s, unsigned short hex);
    diff --git a/arch/powerpc/include/uapi/asm/setup.h b/arch/powerpc/include/uapi/asm/setup.h
    index c54940b09d06..f2ca747aa45b 100644
    --- a/arch/powerpc/include/uapi/asm/setup.h
    +++ b/arch/powerpc/include/uapi/asm/setup.h
    @@ -2,6 +2,4 @@
    #ifndef _UAPI_ASM_POWERPC_SETUP_H
    #define _UAPI_ASM_POWERPC_SETUP_H

    -#define COMMAND_LINE_SIZE 2048
    -
    #endif /* _UAPI_ASM_POWERPC_SETUP_H */
    --
    2.37.2
    \
     
     \ /
      Last update: 2023-03-27 00:21    [W:4.087 / U:1.892 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site