1. 02 8月, 2018 1 次提交
  2. 29 5月, 2018 1 次提交
  3. 23 5月, 2018 2 次提交
    • G
      nds32: Fix building error when CONFIG_FREEZE is enabled. · 6ca4b262
      Greentime Hu 提交于
      To include kernel/Kconfig.freezer to make sure the dependency between
      CONFIG_CGROUP_FREEZER and CONFIG_FREEZER
      
      It will cause building error when I make allmodconfig.
      
      kernel/cgroup/freezer.c: In function 'freezer_css_online':
      kernel/cgroup/freezer.c:116:15: error: 'system_freezing_cnt' undeclared (first use in this function)
         atomic_inc(&system_freezing_cnt);
                     ^~~~~~~~~~~~~~~~~~~
      kernel/cgroup/freezer.c:116:15: note: each undeclared identifier is reported only once for each function it appears in
      kernel/cgroup/freezer.c: In function 'freezer_css_offline':
      kernel/cgroup/freezer.c:137:15: error: 'system_freezing_cnt' undeclared (first use in this function)
         atomic_dec(&system_freezing_cnt);
                     ^~~~~~~~~~~~~~~~~~~
      kernel/cgroup/freezer.c: In function 'freezer_attach':
      kernel/cgroup/freezer.c:181:4: error: implicit declaration of function 'freeze_task' [-Werror=implicit-function-declaration]
          freeze_task(task);
          ^~~~~~~~~~~
      kernel/cgroup/freezer.c: In function 'freezer_apply_state':
      kernel/cgroup/freezer.c:360:16: error: 'system_freezing_cnt' undeclared (first use in this function)
          atomic_inc(&system_freezing_cnt);
                      ^~~~~~~~~~~~~~~~~~~
      Signed-off-by: NGreentime Hu <greentime@andestech.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      6ca4b262
    • G
      nds32: lib: To use generic lib instead of libgcc to prevent the symbol undefined issue. · aeaa7af7
      Greentime Hu 提交于
      We can use the generic lib to fix these error because the symbol of
      libgcc in toolchain is not exported.
      
      ERROR: "__ucmpdi2" [fs/xfs/xfs.ko] undefined!
      ERROR: "__ashrdi3" [fs/xfs/xfs.ko] undefined!
      ERROR: "__lshrdi3" [fs/xfs/xfs.ko] undefined!
      ERROR: "__ashldi3" [fs/ntfs/ntfs.ko] undefined!
      ...
      Signed-off-by: NGreentime Hu <greentime@andestech.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      aeaa7af7
  4. 22 2月, 2018 1 次提交