Re: [PATCH] percpu_counter: return precise count from __percpu_counter_compare()

kbuild test robot
2015-10-02T18:16:37Z

[-- Attachment #1: Type: text/plain, Size: 40457 bytes --]

Hi Waiman,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: openrisc-or1ksim_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=openrisc

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

include/linux/sched.h:3179:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/ptrace.h:6:0,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/err.h:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/err.h:29:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/err.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/err.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/err.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/err.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/mm.h:15:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/debug_locks.h:8:1: warning: empty declaration
include/linux/debug_locks.h:10:12: error: storage class specified for parameter 'debug_locks'
include/linux/debug_locks.h:11:12: error: storage class specified for parameter 'debug_locks_silent'
include/linux/debug_locks.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/debug_locks.h:22:12: error: storage class specified for parameter 'debug_locks_off'
include/linux/debug_locks.h:48:1: warning: empty declaration
include/linux/debug_locks.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/debug_locks.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/debug_locks.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/debug_locks.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/mm.h:17:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/range.h:4:1: warning: empty declaration
include/linux/range.h:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/mm.h:19:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/bit_spinlock.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/bit_spinlock.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/bit_spinlock.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/bit_spinlock.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/bit_spinlock.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/mm.h:20:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/shrinker.h:11:1: warning: empty declaration
include/linux/shrinker.h:49:1: warning: empty declaration
include/linux/shrinker.h:70:12: error: storage class specified for parameter 'register_shrinker'
include/linux/shrinker.h:71:13: error: storage class specified for parameter 'unregister_shrinker'
In file included from include/linux/page_ext.h:5:0,
from include/linux/mm.h:22,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/stacktrace.h:6:1: warning: empty declaration
include/linux/stacktrace.h:7:1: warning: empty declaration
In file included from include/linux/mm.h:22:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/page_ext.h:7:1: warning: empty declaration
include/linux/page_ext.h:8:1: warning: empty declaration
include/linux/page_ext.h:69:1: warning: empty declaration
include/linux/page_ext.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page_ext.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page_ext.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page_ext.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/pid_namespace.h:6:0,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/mm.h:25:1: warning: empty declaration
include/linux/mm.h:26:1: warning: empty declaration
include/linux/mm.h:27:1: warning: empty declaration
include/linux/mm.h:28:1: warning: empty declaration
include/linux/mm.h:29:1: warning: empty declaration
include/linux/mm.h:30:1: warning: empty declaration
include/linux/mm.h:31:1: warning: empty declaration
include/linux/mm.h:34:22: error: storage class specified for parameter 'max_mapnr'
include/linux/mm.h:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/mm.h:44:22: error: storage class specified for parameter 'totalram_pages'
include/linux/mm.h:45:15: error: storage class specified for parameter 'high_memory'
include/linux/mm.h:46:12: error: storage class specified for parameter 'page_cluster'
include/linux/mm.h:49:12: error: storage class specified for parameter 'sysctl_legacy_va_layout'
In file included from include/asm-generic/pgtable-nopmd.h:6:0,
from arch/openrisc/include/asm/pgtable.h:28,
from include/linux/mm.h:55,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/asm-generic/pgtable-nopud.h:13:31: error: storage class specified for parameter 'pud_t'
include/asm-generic/pgtable-nopud.h:25:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable-nopud.h:26:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable-nopud.h:27:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable-nopud.h:28:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable-nopud.h:38:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from arch/openrisc/include/asm/pgtable.h:28:0,
from include/linux/mm.h:55,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/asm-generic/pgtable-nopmd.h:8:1: warning: empty declaration
include/asm-generic/pgtable-nopmd.h:17:18: error: expected specifier-qualifier-list before 'pud_t'
include/asm-generic/pgtable-nopmd.h:17:31: error: storage class specified for parameter 'pmd_t'
>> include/asm-generic/pgtable-nopmd.h:29:34: error: expected ')' before 'pud'
include/asm-generic/pgtable-nopmd.h:30:33: error: expected ')' before 'pud'
include/asm-generic/pgtable-nopmd.h:31:37: error: expected ')' before 'pud'
>> include/asm-generic/pgtable-nopmd.h:32:36: error: expected ')' before '*' token
include/asm-generic/pgtable-nopmd.h:43:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/asm-generic/pgtable-nopmd.h:59:51: error: expected declaration specifiers or '...' before 'pmd_t'
include/asm-generic/pgtable-nopmd.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from arch/openrisc/include/asm/pgtable.h:32:0,
from include/linux/mm.h:55,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
>> arch/openrisc/include/asm/fixmap.h:40:1: warning: empty declaration
>> arch/openrisc/include/asm/fixmap.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/fixmap.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/mm.h:55:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
>> arch/openrisc/include/asm/pgtable.h:46:13: error: storage class specified for parameter 'paging_init'
>> arch/openrisc/include/asm/pgtable.h:203:22: error: storage class specified for parameter 'empty_zero_page'
>> arch/openrisc/include/asm/pgtable.h:237:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:238:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:239:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:240:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:241:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:242:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:243:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:276:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:288:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:300:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:335:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
arch/openrisc/include/asm/pgtable.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
>> arch/openrisc/include/asm/pgtable.h:366:34: error: expected ')' before '*' token
>> arch/openrisc/include/asm/pgtable.h:414:14: error: storage class specified for parameter 'swapper_pg_dir'
arch/openrisc/include/asm/pgtable.h:424:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from arch/openrisc/include/asm/pgtable.h:441:0,
from include/linux/mm.h:55,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/asm-generic/pgtable.h:27:12: error: storage class specified for parameter 'ptep_set_access_flags'
include/asm-generic/pgtable.h:34:29: error: expected declaration specifiers or '...' before 'pmd_t'
include/asm-generic/pgtable.h:35:6: error: expected declaration specifiers or '...' before 'pmd_t'
>> include/asm-generic/pgtable.h:33:12: error: storage class specified for parameter 'pmdp_set_access_flags'
include/asm-generic/pgtable.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:70:10: error: expected declaration specifiers or '...' before 'pmd_t'
include/asm-generic/pgtable.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:85:30: error: expected declaration specifiers or '...' before 'pmd_t'
include/asm-generic/pgtable.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:144:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:150:14: error: storage class specified for parameter 'ptep_clear_flush'
include/asm-generic/pgtable.h:156:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pmdp_huge_clear_flush'
>> include/asm-generic/pgtable.h:162:1: warning: empty declaration
include/asm-generic/pgtable.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:180:34: error: expected declaration specifiers or '...' before 'pmd_t'
include/asm-generic/pgtable.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:189:29: error: expected declaration specifiers or '...' before 'pmd_t'
>> include/asm-generic/pgtable.h:188:13: error: storage class specified for parameter 'pmdp_splitting_flush'
include/asm-generic/pgtable.h:197:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pmdp_collapse_flush'
include/asm-generic/pgtable.h:209:62: error: expected declaration specifiers or '...' before 'pmd_t'
>> include/asm-generic/pgtable.h:209:13: error: storage class specified for parameter 'pgtable_trans_huge_deposit'
include/asm-generic/pgtable.h:214:68: error: expected declaration specifiers or '...' before 'pmd_t'
>> include/asm-generic/pgtable.h:214:18: error: storage class specified for parameter 'pgtable_trans_huge_withdraw'
include/asm-generic/pgtable.h:219:8: error: expected declaration specifiers or '...' before 'pmd_t'
>> include/asm-generic/pgtable.h:218:13: error: storage class specified for parameter 'pmdp_invalidate'
include/asm-generic/pgtable.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
>> include/asm-generic/pgtable.h:249:34: error: expected ')' before 'pmd_a'
include/asm-generic/pgtable.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
>> include/asm-generic/pgtable.h:334:26: error: expected ')' before '*' token
include/asm-generic/pgtable.h:335:26: error: expected ')' before '*' token
include/asm-generic/pgtable.h:338:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:348:47: error: expected ')' before '*' token
include/asm-generic/pgtable.h:359:47: error: expected ')' before '*' token
include/asm-generic/pgtable.h:373:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:385:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
>> include/asm-generic/pgtable.h:470:40: error: expected ')' before 'pmd'
include/asm-generic/pgtable.h:476:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:480:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pmd_mksoft_dirty'
include/asm-generic/pgtable.h:486:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:491:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:496:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:525:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:534:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:545:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:570:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:576:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:585:40: error: expected ')' before 'pmd'
include/asm-generic/pgtable.h:589:45: error: expected ')' before 'pmd'
include/asm-generic/pgtable.h:594:35: error: expected ')' before 'pmd'
include/asm-generic/pgtable.h:603:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pmd_read_atomic'
include/asm-generic/pgtable.h:617:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:647:61: error: expected ')' before '*' token
include/asm-generic/pgtable.h:689:44: error: expected ')' before '*' token
include/asm-generic/pgtable.h:708:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/asm-generic/pgtable.h:712:38: error: expected ')' before 'pmd'
include/asm-generic/pgtable.h:726:38: error: expected ')' before '*' token
include/asm-generic/pgtable.h:730:38: error: expected ')' before '*' token
include/asm-generic/pgtable.h:734:40: error: expected ')' before '*' token
include/asm-generic/pgtable.h:738:40: error: expected ')' before '*' token
In file included from include/linux/mm.h:55:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
>> arch/openrisc/include/asm/pgtable.h:448:16: error: storage class specified for parameter 'pte_addr_t'
In file included from include/linux/pid_namespace.h:6:0,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/mm.h:73:22: error: storage class specified for parameter 'sysctl_user_reserve_kbytes'
include/linux/mm.h:74:22: error: storage class specified for parameter 'sysctl_admin_reserve_kbytes'
include/linux/mm.h:76:12: error: storage class specified for parameter 'sysctl_overcommit_memory'
include/linux/mm.h:77:12: error: storage class specified for parameter 'sysctl_overcommit_ratio'
include/linux/mm.h:78:22: error: storage class specified for parameter 'sysctl_overcommit_kbytes'
include/linux/mm.h:80:12: error: storage class specified for parameter 'overcommit_ratio_handler'
include/linux/mm.h:82:12: error: storage class specified for parameter 'overcommit_kbytes_handler'
include/linux/mm.h:102:27: error: storage class specified for parameter 'vm_area_cachep'
include/linux/mm.h:209:17: error: storage class specified for parameter 'protection_map'
include/linux/mm.h:226:1: warning: empty declaration
include/linux/mm.h:254:7: error: expected declaration specifiers or '...' before 'pmd_t'
include/linux/mm.h:248:1: warning: empty declaration
include/linux/mm.h:307:1: warning: empty declaration
include/linux/mm.h:308:1: warning: empty declaration
In file included from include/linux/mm.h:317:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/page-flags.h:74:1: warning: empty declaration
include/linux/page-flags.h:212:1: warning: empty declaration
include/linux/page-flags.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:215:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:216:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:217:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:218:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:218:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:218:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:219:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:220:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:221:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:224:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:224:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:225:33: error: expected declaration specifiers before ';' token
include/linux/page-flags.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:226:27: error: expected declaration specifiers before ';' token
include/linux/page-flags.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:227:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:228:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:229:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:238:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:239:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:240:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:240:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:241:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:247:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:247:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:251:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:252:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:261:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:261:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:261:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:270:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:271:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:274:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:274:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:274:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:274:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:275:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:275:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:275:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:324:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:347:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:365:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:371:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:392:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:410:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:486:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:487:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:490:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:534:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:539:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:544:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:561:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:566:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:572:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:580:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:585:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:591:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:601:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:607:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:613:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:619:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
include/linux/page-flags.h:669:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
In file included from include/linux/mm.h:318:0,
from include/linux/pid_namespace.h:6,
from include/linux/ptrace.h:8,
from arch/openrisc/kernel/asm-offsets.c:32:
include/linux/huge_mm.h:6:34: error: expected declaration specifiers or '...' before 'pmd_t'
>> include/linux/huge_mm.h:4:12: error: storage class specified for parameter 'do_huge_pmd_anonymous_page'
include/linux/huge_mm.h:9:5: error: expected declaration specifiers or '...' before 'pmd_t'
include/linux/huge_mm.h:9:21: error: expected declaration specifiers or '...' before 'pmd_t'

vim +29 include/asm-generic/pgtable-nopmd.h

^1da177e4 Linus Torvalds 2005-04-16 2 #define _PGTABLE_NOPMD_H
^1da177e4 Linus Torvalds 2005-04-16 3
^1da177e4 Linus Torvalds 2005-04-16 4 #ifndef __ASSEMBLY__
^1da177e4 Linus Torvalds 2005-04-16 5
^1da177e4 Linus Torvalds 2005-04-16 6 #include <asm-generic/pgtable-nopud.h>
^1da177e4 Linus Torvalds 2005-04-16 7
34ee55014 Andrew Morton 2008-07-28 @8 struct mm_struct;
34ee55014 Andrew Morton 2008-07-28 9
^1da177e4 Linus Torvalds 2005-04-16 10 #define __PAGETABLE_PMD_FOLDED
^1da177e4 Linus Torvalds 2005-04-16 11
^1da177e4 Linus Torvalds 2005-04-16 12 /*
^1da177e4 Linus Torvalds 2005-04-16 13 * Having the pmd type consist of a pud gets the size right, and allows
^1da177e4 Linus Torvalds 2005-04-16 14 * us to conceptually access the pud entry that this pmd is folded into
^1da177e4 Linus Torvalds 2005-04-16 15 * without casting.
^1da177e4 Linus Torvalds 2005-04-16 16 */
^1da177e4 Linus Torvalds 2005-04-16 17 typedef struct { pud_t pud; } pmd_t;
^1da177e4 Linus Torvalds 2005-04-16 18
^1da177e4 Linus Torvalds 2005-04-16 19 #define PMD_SHIFT PUD_SHIFT
^1da177e4 Linus Torvalds 2005-04-16 20 #define PTRS_PER_PMD 1
^1da177e4 Linus Torvalds 2005-04-16 21 #define PMD_SIZE (1UL << PMD_SHIFT)
^1da177e4 Linus Torvalds 2005-04-16 22 #define PMD_MASK (~(PMD_SIZE-1))
^1da177e4 Linus Torvalds 2005-04-16 23
^1da177e4 Linus Torvalds 2005-04-16 24 /*
^1da177e4 Linus Torvalds 2005-04-16 25 * The "pud_xxx()" functions here are trivial for a folded two-level
^1da177e4 Linus Torvalds 2005-04-16 26 * setup: the pmd is never bad, and a pmd always exists (as it's folded
^1da177e4 Linus Torvalds 2005-04-16 27 * into the pud entry)
^1da177e4 Linus Torvalds 2005-04-16 28 */
^1da177e4 Linus Torvalds 2005-04-16 @29 static inline int pud_none(pud_t pud) { return 0; }
^1da177e4 Linus Torvalds 2005-04-16 30 static inline int pud_bad(pud_t pud) { return 0; }
^1da177e4 Linus Torvalds 2005-04-16 31 static inline int pud_present(pud_t pud) { return 1; }
^1da177e4 Linus Torvalds 2005-04-16 @32 static inline void pud_clear(pud_t *pud) { }
^1da177e4 Linus Torvalds 2005-04-16 33 #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud))
^1da177e4 Linus Torvalds 2005-04-16 34
^1da177e4 Linus Torvalds 2005-04-16 35 #define pud_populate(mm, pmd, pte) do { } while (0)

:::::: The code at line 29 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 6888 bytes --]

[-- Attachment #3: Type: text/plain, Size: 121 bytes --]