<linux/dlm_plock.h> should be "unifdef"ed.
PATCH 1/1 <linux/dlm_plock.h> should be "unifdef"ed.
Given that <linux/dlm_plock.h> contains a conditional __KERNEL__ test, it should be moved from header-y to unifdef-y.
Signed-off-by Robert P. J. Day <[email protected]>
---
include/linux/Kbuild +1 -1
@@ -105,7 +105,6 @@ header-y += ixjuser.h header-y += jffs2.h header-y += keyctl.h header-y += limits.h -header-y += dlm_plock.h header-y += magic.h header-y += major.h header-y += matroxfb.h
@@ -190,6 +189,7 @@ unifdef-y += cyclades.h unifdef-y += dccp.h unifdef-y += dirent.h unifdef-y += dlm.h +unifdef-y += dlm_plock.h unifdef-y += edd.h unifdef-y += elf.h unifdef-y += elfcore.h
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
Quoted 5 lines · Robert P. J. Day
Given that <
linux/dlm_plock.h> contains a conditional__KERNEL__test, it should be moved from header-y to unifdef-y.Signed-off-by Robert P. J. Day <[email protected]>
Thanks, I've added this to dlm.git.
Dave