forked from luck/tmp_suning_uos_patched
0c9b5a317b
As suggested by David Howells <dhowells@redhat.com>, use asm-generic/param.h and uapi/asm-generic/param.h for AVR32. It also fixes building warnings caused by redefinitions of HZ: In file included from /ws/linux/kernel/linux.git/include/uapi/linux/param.h:4, from include/linux/timex.h:63, from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/srcu.h:34, from include/linux/notifier.h:15, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:777, from include/linux/gfp.h:4, from arch/avr32/mm/init.c:10: /ws/linux/kernel/linux.git/arch/avr32/include/asm/param.h:6:1: warning: "HZ" redefined In file included from /ws/linux/kernel/linux.git/arch/avr32/include/asm/param.h:4, from /ws/linux/kernel/linux.git/include/uapi/linux/param.h:4, from include/linux/timex.h:63, from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/srcu.h:34, from include/linux/notifier.h:15, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:777, from include/linux/gfp.h:4, from arch/avr32/mm/init.c:10: /ws/linux/kernel/linux.git/arch/avr32/include/uapi/asm/param.h:6:1: warning: this is the location of the previous definition Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
37 lines
778 B
Makefile
37 lines
778 B
Makefile
# UAPI Header export list
|
|
include include/uapi/asm-generic/Kbuild.asm
|
|
|
|
header-y += auxvec.h
|
|
header-y += bitsperlong.h
|
|
header-y += byteorder.h
|
|
header-y += cachectl.h
|
|
header-y += errno.h
|
|
header-y += fcntl.h
|
|
header-y += ioctl.h
|
|
header-y += ioctls.h
|
|
header-y += ipcbuf.h
|
|
header-y += kvm_para.h
|
|
header-y += mman.h
|
|
header-y += msgbuf.h
|
|
header-y += param.h
|
|
header-y += poll.h
|
|
header-y += posix_types.h
|
|
header-y += ptrace.h
|
|
header-y += resource.h
|
|
header-y += sembuf.h
|
|
header-y += setup.h
|
|
header-y += shmbuf.h
|
|
header-y += sigcontext.h
|
|
header-y += siginfo.h
|
|
header-y += signal.h
|
|
header-y += socket.h
|
|
header-y += sockios.h
|
|
header-y += stat.h
|
|
header-y += statfs.h
|
|
header-y += swab.h
|
|
header-y += termbits.h
|
|
header-y += termios.h
|
|
header-y += types.h
|
|
header-y += unistd.h
|
|
generic-y += param.h
|