--- zzzz-none-000/linux-2.6.39.4/include/linux/proc_fs.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/proc_fs.h 2021-11-10 13:38:17.000000000 +0000 @@ -245,7 +245,7 @@ #if !defined(CONFIG_PROC_KCORE) static inline void -kclist_add(struct kcore_list *new, void *addr, size_t size, int type) +kclist_add(struct kcore_list *new __attribute__((unused)), void *addr __attribute__((unused)), size_t size __attribute__((unused)), int type __attribute__((unused))) { } #else