lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201804021258.3iUdqjhk%fengguang.wu@intel.com>
Date:   Mon, 2 Apr 2018 14:10:52 +0800
From:   kbuild test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 06/45] C++: Do some basic C++ type definition

Hi David,

I love your patch! Yet something to improve:

[auto build test ERROR on v4.16-rc7]
[cannot apply to linus/master tip/x86/core tip/locking/core v4.16 next-20180329]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/David-Howells/C-Convert-the-kernel-to-C/20180402-120344
config: x86_64-randconfig-x006-201813 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

                    ^~~~~~~~
   include/linux/types.h:115:17: error: storage class specified for parameter 'u_int64_t'
    typedef  __u64  u_int64_t;
                    ^~~~~~~~~
   include/linux/types.h:116:17: error: storage class specified for parameter 'int64_t'
    typedef  __s64  int64_t;
                    ^~~~~~~
   include/linux/types.h:136:23: error: storage class specified for parameter 'sector_t'
    typedef unsigned long sector_t;
                          ^~~~~~~~
   include/linux/types.h:137:23: error: storage class specified for parameter 'blkcnt_t'
    typedef unsigned long blkcnt_t;
                          ^~~~~~~~
   include/linux/types.h:155:13: error: storage class specified for parameter 'dma_addr_t'
    typedef u64 dma_addr_t;
                ^~~~~~~~~~
   include/linux/types.h:160:28: error: storage class specified for parameter 'gfp_t'
    typedef unsigned __bitwise gfp_t;
                               ^~~~~
   include/linux/types.h:161:28: error: storage class specified for parameter 'slab_flags_t'
    typedef unsigned __bitwise slab_flags_t;
                               ^~~~~~~~~~~~
   include/linux/types.h:162:28: error: storage class specified for parameter 'fmode_t'
    typedef unsigned __bitwise fmode_t;
                               ^~~~~~~
   include/linux/types.h:165:13: error: storage class specified for parameter 'phys_addr_t'
    typedef u64 phys_addr_t;
                ^~~~~~~~~~~
   include/linux/types.h:170:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_size_t'
    typedef phys_addr_t resource_size_t;
                        ^~~~~~~~~~~~~~~
   include/linux/types.h:176:23: error: storage class specified for parameter 'irq_hw_number_t'
    typedef unsigned long irq_hw_number_t;
                          ^~~~~~~~~~~~~~~
   include/linux/types.h:180:3: error: storage class specified for parameter 'atomic_t'
    } atomic_t;
      ^~~~~~~~
   include/linux/types.h:185:3: error: storage class specified for parameter 'atomic64_t'
    } atomic64_t;
      ^~~~~~~~~~
   include/linux/types.h:188:1: warning: empty declaration
    struct list_head {
    ^~~~~~
   include/linux/types.h:192:1: warning: empty declaration
    struct hlist_head {
    ^~~~~~
   include/linux/types.h:196:1: warning: empty declaration
    struct hlist_node {
    ^~~~~~
   include/linux/types.h:201:2: error: expected specifier-qualifier-list before '__kernel_daddr_t'
     __kernel_daddr_t f_tfree;
     ^~~~~~~~~~~~~~~~
   include/linux/types.h:200:1: warning: empty declaration
    struct ustat {
    ^~~~~~
   include/linux/types.h:226:1: warning: empty declaration
    struct callback_head {
    ^~~~~~
   include/linux/types.h:232:16: error: storage class specified for parameter 'rcu_callback_t'
    typedef void (*rcu_callback_t)(struct rcu_head *head);
                   ^~~~~~~~~~~~~~
   include/linux/types.h:233:56: error: expected declaration specifiers or '...' before 'rcu_callback_t'
    typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func);
                                                           ^~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:5:0,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/compiler.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/compiler.h:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/compiler.h:210:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   In file included from arch/x86/include/asm/barrier.h:5:0,
                    from include/linux/compiler.h:245,
                    from include/asm-generic/bug.h:5,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/x86/include/asm/alternative.h:48:1: warning: empty declaration
    struct alt_instr {
    ^~~~~~
   arch/x86/include/asm/alternative.h:61:12: error: storage class specified for parameter 'alternatives_patched'
    extern int alternatives_patched;
               ^~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/alternative.h:63:13: error: storage class specified for parameter 'alternative_instructions'
    extern void alternative_instructions(void);
                ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/alternative.h:64:13: error: storage class specified for parameter 'apply_alternatives'
    extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
                ^~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/alternative.h:66:1: warning: empty declaration
    struct module;
    ^~~~~~
>> arch/x86/include/asm/alternative.h:69:13: error: storage class specified for parameter 'alternatives_smp_module_add'
    extern void alternatives_smp_module_add(struct module *mod, char *name,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/alternative.h:72:13: error: storage class specified for parameter 'alternatives_smp_module_del'
    extern void alternatives_smp_module_del(struct module *mod);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/alternative.h:73:13: error: storage class specified for parameter 'alternatives_enable_smp'
    extern void alternatives_enable_smp(void);
                ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/alternative.h:74:12: error: storage class specified for parameter 'alternatives_text_reserved'
    extern int alternatives_text_reserved(void *start, void *end);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/alternative.h:75:8: error: unknown type name 'bool'
    extern bool skip_smp_alternatives;
           ^~~~
>> arch/x86/include/asm/alternative.h:75:13: error: storage class specified for parameter 'skip_smp_alternatives'
    extern bool skip_smp_alternatives;
                ^~~~~~~~~~~~~~~~~~~~~
   In file included from arch/x86/include/asm/barrier.h:6:0,
                    from include/linux/compiler.h:245,
                    from include/asm-generic/bug.h:5,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/x86/include/asm/nops.h:143:37: error: storage class specified for parameter 'ideal_nops'
    extern const unsigned char * const *ideal_nops;
                                        ^~~~~~~~~~
   arch/x86/include/asm/nops.h:144:13: error: storage class specified for parameter 'arch_init_ideal_nops'
    extern void arch_init_ideal_nops(void);
                ^~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/compiler.h:245:0,
                    from include/asm-generic/bug.h:5,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/x86/include/asm/barrier.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   In file included from include/asm-generic/bug.h:5:0,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/compiler.h:268:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   In file included from include/linux/kernel.h:6:0,
                    from include/asm-generic/bug.h:18,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h:40:27: error: storage class specified for parameter '__gnuc_va_list'
    typedef __builtin_va_list __gnuc_va_list;
                              ^~~~~~~~~~~~~~
   In file included from include/linux/kernel.h:6:0,
                    from include/asm-generic/bug.h:18,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   /usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h:99:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'va_list'
    typedef __gnuc_va_list va_list;
                           ^~~~~~~
   In file included from include/linux/linkage.h:7:0,
                    from include/linux/kernel.h:7,
                    from include/asm-generic/bug.h:18,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/export.h:27:1: warning: empty declaration
    struct kernel_symbol
    ^~~~~~
   In file included from include/linux/kernel.h:11:0,
                    from include/asm-generic/bug.h:18,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/bitops.h:29:21: error: storage class specified for parameter '__sw_hweight8'
    extern unsigned int __sw_hweight8(unsigned int w);
                        ^~~~~~~~~~~~~
   include/linux/bitops.h:30:21: error: storage class specified for parameter '__sw_hweight16'
    extern unsigned int __sw_hweight16(unsigned int w);
                        ^~~~~~~~~~~~~~
   include/linux/bitops.h:31:21: error: storage class specified for parameter '__sw_hweight32'
    extern unsigned int __sw_hweight32(unsigned int w);
                        ^~~~~~~~~~~~~~
   include/linux/bitops.h:32:22: error: storage class specified for parameter '__sw_hweight64'
    extern unsigned long __sw_hweight64(__u64 w);
                         ^~~~~~~~~~~~~~
   In file included from include/linux/bitops.h:38:0,
                    from include/linux/kernel.h:11,
                    from include/asm-generic/bug.h:18,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/x86/include/asm/bitops.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   arch/x86/include/asm/bitops.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   arch/x86/include/asm/bitops.h:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   arch/x86/include/asm/bitops.h:133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   arch/x86/include/asm/bitops.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
--
               ^~~~~~~~~~~~~~~~~
   include/linux/printk.h:189:12: error: storage class specified for parameter 'dmesg_restrict'
    extern int dmesg_restrict;
               ^~~~~~~~~~~~~~
   include/linux/printk.h:193:6: error: expected declaration specifiers or '...' before 'size_t'
         size_t *lenp, loff_t *ppos);
         ^~~~~~
   include/linux/printk.h:193:20: error: unknown type name 'loff_t'; did you mean 'pgoff_t'?
         size_t *lenp, loff_t *ppos);
                       ^~~~~~
                       pgoff_t
   include/linux/printk.h:195:13: error: storage class specified for parameter 'wake_up_klogd'
    extern void wake_up_klogd(void);
                ^~~~~~~~~~~~~
   include/linux/printk.h:200:13: error: section attribute not allowed for 'setup_log_buf'
    void __init setup_log_buf(int early);
                ^~~~~~~~~~~~~
   include/linux/printk.h:200:1: warning: '__cold__' attribute ignored [-Wattributes]
    void __init setup_log_buf(int early);
    ^~~~
   In file included from include/linux/compiler_types.h:58:0,
                    from include/linux/kconfig.h:74,
                    from <command-line>:0:
   include/linux/compiler-gcc.h:129:25: error: expected declaration specifiers before '__attribute__'
    #define __printf(a, b)  __attribute__((format(printf, a, b)))
                            ^
   include/linux/printk.h:201:1: note: in expansion of macro '__printf'
    __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...);
    ^~~~~~~~
   In file included from include/linux/kernel.h:14:0,
                    from include/asm-generic/bug.h:18,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/printk.h:204:13: error: storage class specified for parameter 'printk_safe_init'
    extern void printk_safe_init(void);
                ^~~~~~~~~~~~~~~~
   include/linux/printk.h:205:13: error: storage class specified for parameter 'printk_safe_flush'
    extern void printk_safe_flush(void);
                ^~~~~~~~~~~~~~~~~
   include/linux/printk.h:206:13: error: storage class specified for parameter 'printk_safe_flush_on_panic'
    extern void printk_safe_flush_on_panic(void);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/printk.h:280:12: error: storage class specified for parameter 'kptr_restrict'
    extern int kptr_restrict;
               ^~~~~~~~~~~~~
   include/linux/printk.h:282:24: error: storage class specified for parameter 'dump_stack'
    extern asmlinkage void dump_stack(void) __cold;
                           ^~~~~~~~~~
   include/linux/printk.h:282:1: warning: '__cold__' attribute ignored [-Wattributes]
    extern asmlinkage void dump_stack(void) __cold;
    ^~~~~~
   include/linux/printk.h:474:37: error: storage class specified for parameter 'kmsg_fops'
    extern const struct file_operations kmsg_fops;
                                        ^~~~~~~~~
   include/linux/printk.h:476:1: warning: empty declaration
    enum {
    ^~~~
   include/linux/printk.h:481:48: error: expected declaration specifiers or '...' before 'size_t'
    extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize,
                                                   ^~~~~~
   include/linux/printk.h:482:40: error: expected declaration specifiers or '...' before 'size_t'
             int groupsize, char *linebuf, size_t linebuflen,
                                           ^~~~~~
   include/linux/printk.h:483:10: error: unknown type name 'bool'; did you mean '_Bool'?
             bool ascii);
             ^~~~
             _Bool
   include/linux/printk.h:487:24: error: expected declaration specifiers or '...' before 'size_t'
          const void *buf, size_t len, bool ascii);
                           ^~~~~~
   include/linux/printk.h:487:36: error: unknown type name 'bool'; did you mean '_Bool'?
          const void *buf, size_t len, bool ascii);
                                       ^~~~
                                       _Bool
   include/linux/printk.h:493:23: error: expected declaration specifiers or '...' before 'size_t'
         const void *buf, size_t len);
                          ^~~~~~
   include/linux/printk.h:521:23: error: expected declaration specifiers or '...' before 'size_t'
         const void *buf, size_t len, bool ascii)
                          ^~~~~~
   include/linux/printk.h:521:35: error: unknown type name 'bool'; did you mean '_Bool'?
         const void *buf, size_t len, bool ascii)
                                      ^~~~
                                      _Bool
   In file included from include/asm-generic/bug.h:18:0,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/kernel.h:202:1: warning: empty declaration
    struct completion;
    ^~~~~~
   include/linux/kernel.h:203:1: warning: empty declaration
    struct pt_regs;
    ^~~~~~
   include/linux/kernel.h:204:1: warning: empty declaration
    struct user;
    ^~~~~~
>> include/linux/kernel.h:207:12: error: storage class specified for parameter '_cond_resched'
    extern int _cond_resched(void);
               ^~~~~~~~~~~~~
   include/linux/kernel.h:278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/kernel.h:290:36: error: storage class specified for parameter 'panic_notifier_list'
    extern struct atomic_notifier_head panic_notifier_list;
                                       ^~~~~~~~~~~~~~~~~~~
   include/linux/kernel.h:291:15: error: storage class specified for parameter 'panic_blink'
    extern long (*panic_blink)(int state);
                  ^~~~~~~~~~~
   In file included from include/linux/compiler_types.h:58:0,
                    from include/linux/kconfig.h:74,
                    from <command-line>:0:
   include/linux/compiler-gcc.h:129:25: error: expected declaration specifiers before '__attribute__'
    #define __printf(a, b)  __attribute__((format(printf, a, b)))
                            ^
   include/linux/kernel.h:292:1: note: in expansion of macro '__printf'
    __printf(1, 2)
    ^~~~~~~~
   In file included from include/asm-generic/bug.h:18:0,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   include/linux/kernel.h:295:13: error: storage class specified for parameter 'oops_enter'
    extern void oops_enter(void);
                ^~~~~~~~~~
   include/linux/kernel.h:296:13: error: storage class specified for parameter 'oops_exit'
    extern void oops_exit(void);
                ^~~~~~~~~
   include/linux/kernel.h:298:12: error: storage class specified for parameter 'oops_may_print'
    extern int oops_may_print(void);
               ^~~~~~~~~~~~~~
   include/linux/kernel.h:333:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/kernel.h:362:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/kernel.h:378:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/kernel.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/kernel.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/kernel.h:393:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    {
    ^
   include/linux/kernel.h:401:44: error: unknown type name 'bool'; did you mean '_Bool'?
    int __must_check kstrtobool(const char *s, bool *res);
                                               ^~~~
                                               _Bool
   include/linux/kernel.h:403:60: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtoull_from_user(const char __user *s, size_t count, unsigned int base, unsigned long long *res);
                                                               ^~~~~~
   include/linux/kernel.h:404:59: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtoll_from_user(const char __user *s, size_t count, unsigned int base, long long *res);
                                                              ^~~~~~
   include/linux/kernel.h:405:59: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtoul_from_user(const char __user *s, size_t count, unsigned int base, unsigned long *res);
                                                              ^~~~~~
   include/linux/kernel.h:406:58: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res);
                                                             ^~~~~~
   include/linux/kernel.h:407:61: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtouint_from_user(const char __user *s, size_t count, unsigned int base, unsigned int *res);
                                                                ^~~~~~
   include/linux/kernel.h:408:60: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtoint_from_user(const char __user *s, size_t count, unsigned int base, int *res);
                                                               ^~~~~~
   include/linux/kernel.h:409:60: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *res);
                                                               ^~~~~~
   include/linux/kernel.h:410:60: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res);
                                                               ^~~~~~
   include/linux/kernel.h:411:59: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
                                                              ^~~~~~
   include/linux/kernel.h:412:59: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res);
                                                              ^~~~~~
   include/linux/kernel.h:413:61: error: expected declaration specifiers or '...' before 'size_t'
    int __must_check kstrtobool_from_user(const char __user *s, size_t count, bool *res);
                                                                ^~~~~~
   include/linux/kernel.h:413:75: error: unknown type name 'bool'; did you mean '_Bool'?
    int __must_check kstrtobool_from_user(const char __user *s, size_t count, bool *res);
                                                                              ^~~~
                                                                              _Bool
   include/linux/kernel.h:415:74: error: expected declaration specifiers or '...' before 'size_t'
    static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res)
                                                                             ^~~~~~
   include/linux/kernel.h:420:74: error: expected declaration specifiers or '...' before 'size_t'
    static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res)
                                                                             ^~~~~~
   include/linux/kernel.h:425:74: error: expected declaration specifiers or '...' before 'size_t'
..

vim +/alternatives_smp_module_add +69 arch/x86/include/asm/alternative.h

5e907bb0 arch/x86/include/asm/alternative.h Ingo Molnar      2015-04-30  62  
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30 @63  extern void alternative_instructions(void);
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30 @64  extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  65  
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30 @66  struct module;
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  67  
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  68  #ifdef CONFIG_SMP
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30 @69  extern void alternatives_smp_module_add(struct module *mod, char *name,
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  70  					void *locks, void *locks_end,
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  71  					void *text, void *text_end);
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30 @72  extern void alternatives_smp_module_del(struct module *mod);
816afe4f arch/x86/include/asm/alternative.h Rusty Russell    2012-08-06 @73  extern void alternatives_enable_smp(void);
2cfa1978 arch/x86/include/asm/alternative.h Masami Hiramatsu 2010-02-02 @74  extern int alternatives_text_reserved(void *start, void *end);
3fb82d56 arch/x86/include/asm/alternative.h Suresh Siddha    2010-11-23 @75  extern bool skip_smp_alternatives;
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  76  #else
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  77  static inline void alternatives_smp_module_add(struct module *mod, char *name,
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  78  					       void *locks, void *locks_end,
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  79  					       void *text, void *text_end) {}
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  80  static inline void alternatives_smp_module_del(struct module *mod) {}
816afe4f arch/x86/include/asm/alternative.h Rusty Russell    2012-08-06  81  static inline void alternatives_enable_smp(void) {}
2cfa1978 arch/x86/include/asm/alternative.h Masami Hiramatsu 2010-02-02  82  static inline int alternatives_text_reserved(void *start, void *end)
2cfa1978 arch/x86/include/asm/alternative.h Masami Hiramatsu 2010-02-02  83  {
2cfa1978 arch/x86/include/asm/alternative.h Masami Hiramatsu 2010-02-02  84  	return 0;
2cfa1978 arch/x86/include/asm/alternative.h Masami Hiramatsu 2010-02-02  85  }
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  86  #endif	/* CONFIG_SMP */
6b592570 include/asm-x86/alternative.h      H. Peter Anvin   2008-01-30  87  

:::::: The code at line 69 was first introduced by commit
:::::: 6b59257082e136fbbce1aa017575a451c0df0592 x86: actually merge <asm/alternative.h>

:::::: TO: H. Peter Anvin <hpa@...or.com>
:::::: CC: Ingo Molnar <mingo@...e.hu>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (31781 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ