[linux-review:Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036 9489/9695] include/linux/cpu.h:48:13: error: storage class specified for parameter 'unregister_cpu'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Minchan,

[auto build test ERROR on v4.3-rc6-108-gce1fad2 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036
config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All error/warnings (new ones prefixed by >>):

   In file included from mm/page-writeback.c:28:0:
   include/linux/rmap.h:274:1: error: expected declaration specifiers or '...' before '{' token
   In file included from mm/page-writeback.c:33:0:
   include/linux/cpu.h:30:12: error: storage class specified for parameter 'register_cpu'
   include/linux/cpu.h:31:23: error: storage class specified for parameter 'get_cpu_device'
   include/linux/cpu.h:32:13: error: storage class specified for parameter 'cpu_is_hotpluggable'
   include/linux/cpu.h:33:13: error: storage class specified for parameter 'arch_match_cpu_phys_id'
   include/linux/cpu.h:34:13: error: storage class specified for parameter 'arch_find_n_match_cpu_physical_id'
   include/linux/cpu.h:37:12: error: storage class specified for parameter 'cpu_add_dev_attr'
   include/linux/cpu.h:38:13: error: storage class specified for parameter 'cpu_remove_dev_attr'
   include/linux/cpu.h:40:12: error: storage class specified for parameter 'cpu_add_dev_attr_group'
   include/linux/cpu.h:41:13: error: storage class specified for parameter 'cpu_remove_dev_attr_group'
   include/linux/cpu.h:44:16: error: storage class specified for parameter 'cpu_device_create'
>> include/linux/cpu.h:48:13: error: storage class specified for parameter 'unregister_cpu'
>> include/linux/cpu.h:49:16: error: storage class specified for parameter 'arch_cpu_probe'
>> include/linux/cpu.h:50:16: error: storage class specified for parameter 'arch_cpu_release'
   include/linux/cpu.h:140:12: error: storage class specified for parameter 'register_cpu_notifier'
>> include/linux/cpu.h:141:12: error: storage class specified for parameter '__register_cpu_notifier'
>> include/linux/cpu.h:142:13: error: storage class specified for parameter 'unregister_cpu_notifier'
>> include/linux/cpu.h:143:13: error: storage class specified for parameter '__unregister_cpu_notifier'
>> include/linux/cpu.h:173:13: error: storage class specified for parameter 'cpu_maps_update_begin'
>> include/linux/cpu.h:174:13: error: storage class specified for parameter 'cpu_maps_update_done'
   include/linux/cpu.h:223:24: error: storage class specified for parameter 'cpu_subsys'
>> include/linux/cpu.h:228:13: error: storage class specified for parameter 'cpu_hotplug_begin'
>> include/linux/cpu.h:229:13: error: storage class specified for parameter 'cpu_hotplug_done'
>> include/linux/cpu.h:230:13: error: storage class specified for parameter 'get_online_cpus'
   include/linux/cpu.h:231:13: error: storage class specified for parameter 'try_get_online_cpus'
>> include/linux/cpu.h:232:13: error: storage class specified for parameter 'put_online_cpus'
>> include/linux/cpu.h:233:13: error: storage class specified for parameter 'cpu_hotplug_disable'
>> include/linux/cpu.h:234:13: error: storage class specified for parameter 'cpu_hotplug_enable'
>> include/linux/cpu.h:263:12: error: storage class specified for parameter 'disable_nonboot_cpus'
>> include/linux/cpu.h:264:13: error: storage class specified for parameter 'enable_nonboot_cpus'
   include/linux/cpu.h:285:1: error: storage class specified for parameter 'cpu_dead_idle'
   include/linux/cpu.h:285:1: error: section attribute not allowed for 'cpu_dead_idle'
   In file included from include/linux/syscalls.h:71:0,
                    from mm/page-writeback.c:34:
   include/uapi/linux/aio_abi.h:33:26: error: storage class specified for parameter 'aio_context_t'
   In file included from include/trace/syscall.h:4:0,
                    from include/linux/syscalls.h:81,
                    from mm/page-writeback.c:34:
   include/linux/tracepoint.h:46:1: error: storage class specified for parameter 'tracepoint_probe_register'
   include/linux/tracepoint.h:48:1: error: storage class specified for parameter 'tracepoint_probe_unregister'
   include/linux/tracepoint.h:50:1: error: storage class specified for parameter 'for_each_kernel_tracepoint'
   include/linux/tracepoint.h:60:12: error: storage class specified for parameter 'register_tracepoint_module_notifier'
   include/linux/tracepoint.h:61:12: error: storage class specified for parameter 'unregister_tracepoint_module_notifier'
>> include/linux/tracepoint.h:84:20: error: storage class specified for parameter 'tracepoint_synchronize_unregister'
>> include/linux/tracepoint.h:84:20: warning: parameter 'tracepoint_synchronize_unregister' declared 'inline' [enabled by default]
>> include/linux/tracepoint.h:85:1: warning: 'always_inline' attribute ignored [-Wattributes]
>> include/linux/tracepoint.h:84:20: error: 'no_instrument_function' attribute applies only to functions
--
   In file included from mm/vmscan.c:33:0:
   include/linux/rmap.h:274:1: error: expected declaration specifiers or '...' before '{' token
   In file included from mm/vmscan.c:35:0:
   include/linux/cpu.h:30:12: error: storage class specified for parameter 'register_cpu'
   include/linux/cpu.h:31:23: error: storage class specified for parameter 'get_cpu_device'
   include/linux/cpu.h:32:13: error: storage class specified for parameter 'cpu_is_hotpluggable'
   include/linux/cpu.h:33:13: error: storage class specified for parameter 'arch_match_cpu_phys_id'
   include/linux/cpu.h:34:13: error: storage class specified for parameter 'arch_find_n_match_cpu_physical_id'
   include/linux/cpu.h:37:12: error: storage class specified for parameter 'cpu_add_dev_attr'
   include/linux/cpu.h:38:13: error: storage class specified for parameter 'cpu_remove_dev_attr'
   include/linux/cpu.h:40:12: error: storage class specified for parameter 'cpu_add_dev_attr_group'
   include/linux/cpu.h:41:13: error: storage class specified for parameter 'cpu_remove_dev_attr_group'
   include/linux/cpu.h:44:16: error: storage class specified for parameter 'cpu_device_create'
>> include/linux/cpu.h:48:13: error: storage class specified for parameter 'unregister_cpu'
>> include/linux/cpu.h:49:16: error: storage class specified for parameter 'arch_cpu_probe'
>> include/linux/cpu.h:50:16: error: storage class specified for parameter 'arch_cpu_release'
   include/linux/cpu.h:140:12: error: storage class specified for parameter 'register_cpu_notifier'
>> include/linux/cpu.h:141:12: error: storage class specified for parameter '__register_cpu_notifier'
>> include/linux/cpu.h:142:13: error: storage class specified for parameter 'unregister_cpu_notifier'
>> include/linux/cpu.h:143:13: error: storage class specified for parameter '__unregister_cpu_notifier'
>> include/linux/cpu.h:173:13: error: storage class specified for parameter 'cpu_maps_update_begin'
>> include/linux/cpu.h:174:13: error: storage class specified for parameter 'cpu_maps_update_done'
   include/linux/cpu.h:223:24: error: storage class specified for parameter 'cpu_subsys'
>> include/linux/cpu.h:228:13: error: storage class specified for parameter 'cpu_hotplug_begin'
>> include/linux/cpu.h:229:13: error: storage class specified for parameter 'cpu_hotplug_done'
>> include/linux/cpu.h:230:13: error: storage class specified for parameter 'get_online_cpus'
   include/linux/cpu.h:231:13: error: storage class specified for parameter 'try_get_online_cpus'
>> include/linux/cpu.h:232:13: error: storage class specified for parameter 'put_online_cpus'
>> include/linux/cpu.h:233:13: error: storage class specified for parameter 'cpu_hotplug_disable'
>> include/linux/cpu.h:234:13: error: storage class specified for parameter 'cpu_hotplug_enable'
>> include/linux/cpu.h:263:12: error: storage class specified for parameter 'disable_nonboot_cpus'
>> include/linux/cpu.h:264:13: error: storage class specified for parameter 'enable_nonboot_cpus'
   include/linux/cpu.h:285:1: error: storage class specified for parameter 'cpu_dead_idle'
   include/linux/cpu.h:285:1: error: section attribute not allowed for 'cpu_dead_idle'
   In file included from mm/vmscan.c:36:0:
>> include/linux/cpuset.h:142:20: error: storage class specified for parameter 'cpusets_enabled'
>> include/linux/cpuset.h:142:20: warning: parameter 'cpusets_enabled' declared 'inline' [enabled by default]
>> include/linux/cpuset.h:142:1: warning: 'always_inline' attribute ignored [-Wattributes]
>> include/linux/cpuset.h:142:20: error: 'no_instrument_function' attribute applies only to functions

vim +/unregister_cpu +48 include/linux/cpu.h

^1da177e Linus Torvalds      2005-04-16   25  	int node_id;		/* The node which contains the CPU */
72486f1f Siddha, Suresh B    2006-12-07   26  	int hotpluggable;	/* creates sysfs control file if hotpluggable */
8a25a2fd Kay Sievers         2011-12-21   27  	struct device dev;
^1da177e Linus Torvalds      2005-04-16   28  };
^1da177e Linus Torvalds      2005-04-16   29  
76b67ed9 KAMEZAWA Hiroyuki   2006-06-27   30  extern int register_cpu(struct cpu *cpu, int num);
8a25a2fd Kay Sievers         2011-12-21  @31  extern struct device *get_cpu_device(unsigned cpu);
2987557f Josh Triplett       2011-12-03  @32  extern bool cpu_is_hotpluggable(unsigned cpu);
183912d3 Sudeep Holla        2013-08-15  @33  extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id);
d1cb9d1a David Miller        2013-10-03   34  extern bool arch_find_n_match_cpu_physical_id(struct device_node *cpun,
d1cb9d1a David Miller        2013-10-03   35  					      int cpu, unsigned int *thread);
0344c6c5 Christian Krafft    2006-10-24   36  
8a25a2fd Kay Sievers         2011-12-21  @37  extern int cpu_add_dev_attr(struct device_attribute *attr);
8a25a2fd Kay Sievers         2011-12-21  @38  extern void cpu_remove_dev_attr(struct device_attribute *attr);
0344c6c5 Christian Krafft    2006-10-24   39  
8a25a2fd Kay Sievers         2011-12-21  @40  extern int cpu_add_dev_attr_group(struct attribute_group *attrs);
8a25a2fd Kay Sievers         2011-12-21  @41  extern void cpu_remove_dev_attr_group(struct attribute_group *attrs);
0344c6c5 Christian Krafft    2006-10-24   42  
8db14860 Nicolas Iooss       2015-07-17   43  extern __printf(4, 5)
8db14860 Nicolas Iooss       2015-07-17  @44  struct device *cpu_device_create(struct device *parent, void *drvdata,
3d52943b Sudeep Holla        2014-09-30   45  				 const struct attribute_group **groups,
3d52943b Sudeep Holla        2014-09-30   46  				 const char *fmt, ...);
^1da177e Linus Torvalds      2005-04-16   47  #ifdef CONFIG_HOTPLUG_CPU
76b67ed9 KAMEZAWA Hiroyuki   2006-06-27  @48  extern void unregister_cpu(struct cpu *cpu);
12633e80 Nathan Fontenot     2009-11-25  @49  extern ssize_t arch_cpu_probe(const char *, size_t);
12633e80 Nathan Fontenot     2009-11-25  @50  extern ssize_t arch_cpu_release(const char *, size_t);
^1da177e Linus Torvalds      2005-04-16   51  #endif
^1da177e Linus Torvalds      2005-04-16   52  struct notifier_block;
^1da177e Linus Torvalds      2005-04-16   53  
50a323b7 Tejun Heo           2010-06-08   54  /*
50a323b7 Tejun Heo           2010-06-08   55   * CPU notifier priorities.
50a323b7 Tejun Heo           2010-06-08   56   */
50a323b7 Tejun Heo           2010-06-08   57  enum {
3a101d05 Tejun Heo           2010-06-08   58  	/*
3a101d05 Tejun Heo           2010-06-08   59  	 * SCHED_ACTIVE marks a cpu which is coming up active during
3a101d05 Tejun Heo           2010-06-08   60  	 * CPU_ONLINE and CPU_DOWN_FAILED and must be the first
3a101d05 Tejun Heo           2010-06-08   61  	 * notifier.  CPUSET_ACTIVE adjusts cpuset according to
3a101d05 Tejun Heo           2010-06-08   62  	 * cpu_active mask right after SCHED_ACTIVE.  During
3a101d05 Tejun Heo           2010-06-08   63  	 * CPU_DOWN_PREPARE, SCHED_INACTIVE and CPUSET_INACTIVE are
3a101d05 Tejun Heo           2010-06-08   64  	 * ordered in the similar way.
3a101d05 Tejun Heo           2010-06-08   65  	 *
3a101d05 Tejun Heo           2010-06-08   66  	 * This ordering guarantees consistent cpu_active mask and
3a101d05 Tejun Heo           2010-06-08   67  	 * migration behavior to all cpu notifiers.
3a101d05 Tejun Heo           2010-06-08   68  	 */
3a101d05 Tejun Heo           2010-06-08   69  	CPU_PRI_SCHED_ACTIVE	= INT_MAX,
3a101d05 Tejun Heo           2010-06-08   70  	CPU_PRI_CPUSET_ACTIVE	= INT_MAX - 1,
3a101d05 Tejun Heo           2010-06-08   71  	CPU_PRI_SCHED_INACTIVE	= INT_MIN + 1,
3a101d05 Tejun Heo           2010-06-08   72  	CPU_PRI_CPUSET_INACTIVE	= INT_MIN,
3a101d05 Tejun Heo           2010-06-08   73  
50a323b7 Tejun Heo           2010-06-08   74  	/* migration should happen before other stuff but after perf */
50a323b7 Tejun Heo           2010-06-08   75  	CPU_PRI_PERF		= 20,
50a323b7 Tejun Heo           2010-06-08   76  	CPU_PRI_MIGRATION	= 10,
00df35f9 Paul E. McKenney    2015-04-12   77  	CPU_PRI_SMPBOOT		= 9,
65758202 Tejun Heo           2012-07-17   78  	/* bring up workqueues before normal notifiers and down after */
65758202 Tejun Heo           2012-07-17   79  	CPU_PRI_WORKQUEUE_UP	= 5,
65758202 Tejun Heo           2012-07-17   80  	CPU_PRI_WORKQUEUE_DOWN	= -5,
50a323b7 Tejun Heo           2010-06-08   81  };
50a323b7 Tejun Heo           2010-06-08   82  
80f1ff97 Amerigo Wang        2011-07-25   83  #define CPU_ONLINE		0x0002 /* CPU (unsigned)v is up */
80f1ff97 Amerigo Wang        2011-07-25   84  #define CPU_UP_PREPARE		0x0003 /* CPU (unsigned)v coming up */
80f1ff97 Amerigo Wang        2011-07-25   85  #define CPU_UP_CANCELED		0x0004 /* CPU (unsigned)v NOT coming up */
80f1ff97 Amerigo Wang        2011-07-25   86  #define CPU_DOWN_PREPARE	0x0005 /* CPU (unsigned)v going down */
80f1ff97 Amerigo Wang        2011-07-25   87  #define CPU_DOWN_FAILED		0x0006 /* CPU (unsigned)v NOT going down */
80f1ff97 Amerigo Wang        2011-07-25   88  #define CPU_DEAD		0x0007 /* CPU (unsigned)v dead */
80f1ff97 Amerigo Wang        2011-07-25   89  #define CPU_DYING		0x0008 /* CPU (unsigned)v not running any task,
80f1ff97 Amerigo Wang        2011-07-25   90  					* not handling interrupts, soon dead.
80f1ff97 Amerigo Wang        2011-07-25   91  					* Called on the dying cpu, interrupts
80f1ff97 Amerigo Wang        2011-07-25   92  					* are already disabled. Must not
80f1ff97 Amerigo Wang        2011-07-25   93  					* sleep, must not fail */
80f1ff97 Amerigo Wang        2011-07-25   94  #define CPU_POST_DEAD		0x0009 /* CPU (unsigned)v dead, cpu_hotplug
80f1ff97 Amerigo Wang        2011-07-25   95  					* lock is dropped */
80f1ff97 Amerigo Wang        2011-07-25   96  #define CPU_STARTING		0x000A /* CPU (unsigned)v soon running.
80f1ff97 Amerigo Wang        2011-07-25   97  					* Called on the new cpu, just before
80f1ff97 Amerigo Wang        2011-07-25   98  					* enabling interrupts. Must not sleep,
80f1ff97 Amerigo Wang        2011-07-25   99  					* must not fail */
88428cc5 Paul E. McKenney    2015-01-28  100  #define CPU_DYING_IDLE		0x000B /* CPU (unsigned)v dying, reached
88428cc5 Paul E. McKenney    2015-01-28  101  					* idle loop. */
8038dad7 Paul E. McKenney    2015-02-25  102  #define CPU_BROKEN		0x000C /* CPU (unsigned)v did not die properly,
8038dad7 Paul E. McKenney    2015-02-25  103  					* perhaps due to preemption. */
80f1ff97 Amerigo Wang        2011-07-25  104  
80f1ff97 Amerigo Wang        2011-07-25  105  /* Used for CPU hotplug events occurring while tasks are frozen due to a suspend
80f1ff97 Amerigo Wang        2011-07-25  106   * operation in progress
80f1ff97 Amerigo Wang        2011-07-25  107   */
80f1ff97 Amerigo Wang        2011-07-25  108  #define CPU_TASKS_FROZEN	0x0010
80f1ff97 Amerigo Wang        2011-07-25  109  
80f1ff97 Amerigo Wang        2011-07-25  110  #define CPU_ONLINE_FROZEN	(CPU_ONLINE | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  111  #define CPU_UP_PREPARE_FROZEN	(CPU_UP_PREPARE | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  112  #define CPU_UP_CANCELED_FROZEN	(CPU_UP_CANCELED | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  113  #define CPU_DOWN_PREPARE_FROZEN	(CPU_DOWN_PREPARE | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  114  #define CPU_DOWN_FAILED_FROZEN	(CPU_DOWN_FAILED | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  115  #define CPU_DEAD_FROZEN		(CPU_DEAD | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  116  #define CPU_DYING_FROZEN	(CPU_DYING | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  117  #define CPU_STARTING_FROZEN	(CPU_STARTING | CPU_TASKS_FROZEN)
80f1ff97 Amerigo Wang        2011-07-25  118  
80f1ff97 Amerigo Wang        2011-07-25  119  
^1da177e Linus Torvalds      2005-04-16  120  #ifdef CONFIG_SMP
^1da177e Linus Torvalds      2005-04-16  121  /* Need to know about CPUs going up/down? */
799e64f0 Paul E. McKenney    2009-08-15  122  #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE)
799e64f0 Paul E. McKenney    2009-08-15  123  #define cpu_notifier(fn, pri) {					\
0db0628d Paul Gortmaker      2013-06-19  124  	static struct notifier_block fn##_nb =			\
799e64f0 Paul E. McKenney    2009-08-15  125  		{ .notifier_call = fn, .priority = pri };	\
799e64f0 Paul E. McKenney    2009-08-15  126  	register_cpu_notifier(&fn##_nb);			\
799e64f0 Paul E. McKenney    2009-08-15  127  }
93ae4f97 Srivatsa S. Bhat    2014-03-11  128  
93ae4f97 Srivatsa S. Bhat    2014-03-11  129  #define __cpu_notifier(fn, pri) {				\
93ae4f97 Srivatsa S. Bhat    2014-03-11  130  	static struct notifier_block fn##_nb =			\
93ae4f97 Srivatsa S. Bhat    2014-03-11  131  		{ .notifier_call = fn, .priority = pri };	\
93ae4f97 Srivatsa S. Bhat    2014-03-11  132  	__register_cpu_notifier(&fn##_nb);			\
93ae4f97 Srivatsa S. Bhat    2014-03-11  133  }
799e64f0 Paul E. McKenney    2009-08-15  134  #else /* #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */
799e64f0 Paul E. McKenney    2009-08-15  135  #define cpu_notifier(fn, pri)	do { (void)(fn); } while (0)
93ae4f97 Srivatsa S. Bhat    2014-03-11  136  #define __cpu_notifier(fn, pri)	do { (void)(fn); } while (0)
799e64f0 Paul E. McKenney    2009-08-15  137  #endif /* #else #if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) */
93ae4f97 Srivatsa S. Bhat    2014-03-11  138  
65edc68c Chandra Seetharaman 2006-06-27  139  #ifdef CONFIG_HOTPLUG_CPU
47e627bc Avi Kivity          2007-02-12 @140  extern int register_cpu_notifier(struct notifier_block *nb);
93ae4f97 Srivatsa S. Bhat    2014-03-11 @141  extern int __register_cpu_notifier(struct notifier_block *nb);
^1da177e Linus Torvalds      2005-04-16 @142  extern void unregister_cpu_notifier(struct notifier_block *nb);
93ae4f97 Srivatsa S. Bhat    2014-03-11 @143  extern void __unregister_cpu_notifier(struct notifier_block *nb);
65edc68c Chandra Seetharaman 2006-06-27  144  #else
47e627bc Avi Kivity          2007-02-12  145  
47e627bc Avi Kivity          2007-02-12  146  #ifndef MODULE
47e627bc Avi Kivity          2007-02-12  147  extern int register_cpu_notifier(struct notifier_block *nb);
93ae4f97 Srivatsa S. Bhat    2014-03-11  148  extern int __register_cpu_notifier(struct notifier_block *nb);
47e627bc Avi Kivity          2007-02-12  149  #else
47e627bc Avi Kivity          2007-02-12  150  static inline int register_cpu_notifier(struct notifier_block *nb)
47e627bc Avi Kivity          2007-02-12  151  {
47e627bc Avi Kivity          2007-02-12  152  	return 0;
47e627bc Avi Kivity          2007-02-12  153  }
93ae4f97 Srivatsa S. Bhat    2014-03-11  154  
93ae4f97 Srivatsa S. Bhat    2014-03-11  155  static inline int __register_cpu_notifier(struct notifier_block *nb)
93ae4f97 Srivatsa S. Bhat    2014-03-11  156  {
93ae4f97 Srivatsa S. Bhat    2014-03-11  157  	return 0;
93ae4f97 Srivatsa S. Bhat    2014-03-11  158  }
47e627bc Avi Kivity          2007-02-12  159  #endif
47e627bc Avi Kivity          2007-02-12  160  
65edc68c Chandra Seetharaman 2006-06-27  161  static inline void unregister_cpu_notifier(struct notifier_block *nb)
65edc68c Chandra Seetharaman 2006-06-27  162  {
65edc68c Chandra Seetharaman 2006-06-27  163  }
93ae4f97 Srivatsa S. Bhat    2014-03-11  164  
93ae4f97 Srivatsa S. Bhat    2014-03-11  165  static inline void __unregister_cpu_notifier(struct notifier_block *nb)
93ae4f97 Srivatsa S. Bhat    2014-03-11  166  {
93ae4f97 Srivatsa S. Bhat    2014-03-11  167  }
65edc68c Chandra Seetharaman 2006-06-27  168  #endif
^1da177e Linus Torvalds      2005-04-16  169  
00df35f9 Paul E. McKenney    2015-04-12  170  void smpboot_thread_init(void);
^1da177e Linus Torvalds      2005-04-16  171  int cpu_up(unsigned int cpu);
e545a614 Manfred Spraul      2008-09-07  172  void notify_cpu_starting(unsigned int cpu);
3da1c84c Oleg Nesterov       2008-07-25 @173  extern void cpu_maps_update_begin(void);
3da1c84c Oleg Nesterov       2008-07-25 @174  extern void cpu_maps_update_done(void);
d0d23b54 Ingo Molnar         2008-01-25  175  
93ae4f97 Srivatsa S. Bhat    2014-03-11  176  #define cpu_notifier_register_begin	cpu_maps_update_begin
93ae4f97 Srivatsa S. Bhat    2014-03-11  177  #define cpu_notifier_register_done	cpu_maps_update_done
93ae4f97 Srivatsa S. Bhat    2014-03-11  178  
3da1c84c Oleg Nesterov       2008-07-25  179  #else	/* CONFIG_SMP */
^1da177e Linus Torvalds      2005-04-16  180  
799e64f0 Paul E. McKenney    2009-08-15  181  #define cpu_notifier(fn, pri)	do { (void)(fn); } while (0)
93ae4f97 Srivatsa S. Bhat    2014-03-11  182  #define __cpu_notifier(fn, pri)	do { (void)(fn); } while (0)
799e64f0 Paul E. McKenney    2009-08-15  183  
^1da177e Linus Torvalds      2005-04-16  184  static inline int register_cpu_notifier(struct notifier_block *nb)
^1da177e Linus Torvalds      2005-04-16  185  {
^1da177e Linus Torvalds      2005-04-16  186  	return 0;
^1da177e Linus Torvalds      2005-04-16  187  }
d0d23b54 Ingo Molnar         2008-01-25  188  
93ae4f97 Srivatsa S. Bhat    2014-03-11  189  static inline int __register_cpu_notifier(struct notifier_block *nb)
93ae4f97 Srivatsa S. Bhat    2014-03-11  190  {
93ae4f97 Srivatsa S. Bhat    2014-03-11  191  	return 0;
93ae4f97 Srivatsa S. Bhat    2014-03-11  192  }
93ae4f97 Srivatsa S. Bhat    2014-03-11  193  
^1da177e Linus Torvalds      2005-04-16  194  static inline void unregister_cpu_notifier(struct notifier_block *nb)
^1da177e Linus Torvalds      2005-04-16  195  {
^1da177e Linus Torvalds      2005-04-16  196  }
^1da177e Linus Torvalds      2005-04-16  197  
93ae4f97 Srivatsa S. Bhat    2014-03-11  198  static inline void __unregister_cpu_notifier(struct notifier_block *nb)
93ae4f97 Srivatsa S. Bhat    2014-03-11  199  {
93ae4f97 Srivatsa S. Bhat    2014-03-11  200  }
93ae4f97 Srivatsa S. Bhat    2014-03-11  201  
3da1c84c Oleg Nesterov       2008-07-25  202  static inline void cpu_maps_update_begin(void)
3da1c84c Oleg Nesterov       2008-07-25  203  {
3da1c84c Oleg Nesterov       2008-07-25  204  }
3da1c84c Oleg Nesterov       2008-07-25  205  
3da1c84c Oleg Nesterov       2008-07-25  206  static inline void cpu_maps_update_done(void)
3da1c84c Oleg Nesterov       2008-07-25  207  {
3da1c84c Oleg Nesterov       2008-07-25  208  }
3da1c84c Oleg Nesterov       2008-07-25  209  
93ae4f97 Srivatsa S. Bhat    2014-03-11  210  static inline void cpu_notifier_register_begin(void)
93ae4f97 Srivatsa S. Bhat    2014-03-11  211  {
93ae4f97 Srivatsa S. Bhat    2014-03-11  212  }
93ae4f97 Srivatsa S. Bhat    2014-03-11  213  
93ae4f97 Srivatsa S. Bhat    2014-03-11  214  static inline void cpu_notifier_register_done(void)
93ae4f97 Srivatsa S. Bhat    2014-03-11  215  {
93ae4f97 Srivatsa S. Bhat    2014-03-11  216  }
93ae4f97 Srivatsa S. Bhat    2014-03-11  217  
590ee7db Ingo Molnar         2015-04-13  218  static inline void smpboot_thread_init(void)
590ee7db Ingo Molnar         2015-04-13  219  {
590ee7db Ingo Molnar         2015-04-13  220  }
590ee7db Ingo Molnar         2015-04-13  221  
^1da177e Linus Torvalds      2005-04-16  222  #endif /* CONFIG_SMP */
8a25a2fd Kay Sievers         2011-12-21 @223  extern struct bus_type cpu_subsys;
^1da177e Linus Torvalds      2005-04-16  224  
^1da177e Linus Torvalds      2005-04-16  225  #ifdef CONFIG_HOTPLUG_CPU
^1da177e Linus Torvalds      2005-04-16  226  /* Stop CPUs going up and down. */
f7dff2b1 Gautham R Shenoy    2006-12-06  227  
b9d10be7 Toshi Kani          2013-08-12 @228  extern void cpu_hotplug_begin(void);
b9d10be7 Toshi Kani          2013-08-12 @229  extern void cpu_hotplug_done(void);
86ef5c9a Gautham R Shenoy    2008-01-25 @230  extern void get_online_cpus(void);
dd56af42 Paul E. McKenney    2014-08-25  231  extern bool try_get_online_cpus(void);
86ef5c9a Gautham R Shenoy    2008-01-25 @232  extern void put_online_cpus(void);
16e53dbf Srivatsa S. Bhat    2013-06-12 @233  extern void cpu_hotplug_disable(void);
16e53dbf Srivatsa S. Bhat    2013-06-12 @234  extern void cpu_hotplug_enable(void);
799e64f0 Paul E. McKenney    2009-08-15  235  #define hotcpu_notifier(fn, pri)	cpu_notifier(fn, pri)
93ae4f97 Srivatsa S. Bhat    2014-03-11  236  #define __hotcpu_notifier(fn, pri)	__cpu_notifier(fn, pri)
39f4885c Chandra Seetharaman 2006-06-27  237  #define register_hotcpu_notifier(nb)	register_cpu_notifier(nb)

:::::: The code at line 48 was first introduced by commit
:::::: 76b67ed9dce69a6a329cdd66f94af1787f417b62 [PATCH] node hotplug: register cpu: remove node struct

:::::: TO: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]