diff --git a/ch12/1_miscdrv_rdwr_mutexlock/Makefile b/ch12/1_miscdrv_rdwr_mutexlock/Makefile index fd23e96..3755ee6 100644 --- a/ch12/1_miscdrv_rdwr_mutexlock/Makefile +++ b/ch12/1_miscdrv_rdwr_mutexlock/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch12/2_miscdrv_rdwr_spinlock/Makefile b/ch12/2_miscdrv_rdwr_spinlock/Makefile index 32d66ca..e0d5520 100644 --- a/ch12/2_miscdrv_rdwr_spinlock/Makefile +++ b/ch12/2_miscdrv_rdwr_spinlock/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/1_rmw_atomic_bitops/Makefile b/ch13/1_rmw_atomic_bitops/Makefile index 6e87387..06c9a56 100644 --- a/ch13/1_rmw_atomic_bitops/Makefile +++ b/ch13/1_rmw_atomic_bitops/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/2_list_demo_rdwrlock/Makefile b/ch13/2_list_demo_rdwrlock/Makefile index 8966c47..92db836 100644 --- a/ch13/2_list_demo_rdwrlock/Makefile +++ b/ch13/2_list_demo_rdwrlock/Makefile @@ -110,7 +110,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs --include $(KDIR)/.config +--include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/3_lockfree/list_demo_rcu/Makefile b/ch13/3_lockfree/list_demo_rcu/Makefile index cd4d4e9..d96e153 100644 --- a/ch13/3_lockfree/list_demo_rcu/Makefile +++ b/ch13/3_lockfree/list_demo_rcu/Makefile @@ -109,7 +109,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/3_lockfree/percpu/Makefile b/ch13/3_lockfree/percpu/Makefile index 3a0a745..ac46638 100644 --- a/ch13/3_lockfree/percpu/Makefile +++ b/ch13/3_lockfree/percpu/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/3_lockfree/thrdshowall_rcu/Makefile b/ch13/3_lockfree/thrdshowall_rcu/Makefile index 26c9c19..323ea64 100644 --- a/ch13/3_lockfree/thrdshowall_rcu/Makefile +++ b/ch13/3_lockfree/thrdshowall_rcu/Makefile @@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/4_lockdep/buggy_thrdshow_eg/Makefile b/ch13/4_lockdep/buggy_thrdshow_eg/Makefile index 11d9dc1..869cd6c 100644 --- a/ch13/4_lockdep/buggy_thrdshow_eg/Makefile +++ b/ch13/4_lockdep/buggy_thrdshow_eg/Makefile @@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/4_lockdep/deadlock_eg_AB-BA/Makefile b/ch13/4_lockdep/deadlock_eg_AB-BA/Makefile index 9e0e8f6..d7c8f7e 100644 --- a/ch13/4_lockdep/deadlock_eg_AB-BA/Makefile +++ b/ch13/4_lockdep/deadlock_eg_AB-BA/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/4_lockdep/fixed_thrdshow_eg/Makefile b/ch13/4_lockdep/fixed_thrdshow_eg/Makefile index 2b3c05d..0d5a640 100644 --- a/ch13/4_lockdep/fixed_thrdshow_eg/Makefile +++ b/ch13/4_lockdep/fixed_thrdshow_eg/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/rdwr_concurrent/1_demo_rdwr_nolocks/Makefile b/ch13/rdwr_concurrent/1_demo_rdwr_nolocks/Makefile index bb944cf..517753a 100644 --- a/ch13/rdwr_concurrent/1_demo_rdwr_nolocks/Makefile +++ b/ch13/rdwr_concurrent/1_demo_rdwr_nolocks/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/rdwr_concurrent/2_demo_rdwr_rwlock/Makefile b/ch13/rdwr_concurrent/2_demo_rdwr_rwlock/Makefile index efdfcd6..07610c4 100644 --- a/ch13/rdwr_concurrent/2_demo_rdwr_rwlock/Makefile +++ b/ch13/rdwr_concurrent/2_demo_rdwr_rwlock/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch13/rdwr_concurrent/3_demo_rdwr_rcu/Makefile b/ch13/rdwr_concurrent/3_demo_rdwr_rcu/Makefile index bc5218d..19f46d2 100644 --- a/ch13/rdwr_concurrent/3_demo_rdwr_rcu/Makefile +++ b/ch13/rdwr_concurrent/3_demo_rdwr_rcu/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch5/cross/Makefile b/ch5/cross/Makefile index 4be047d..daaf4b0 100644 --- a/ch5/cross/Makefile +++ b/ch5/cross/Makefile @@ -101,7 +101,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch5/fp_in_lkm/Makefile b/ch5/fp_in_lkm/Makefile index 9d0d128..2b8b2b1 100644 --- a/ch5/fp_in_lkm/Makefile +++ b/ch5/fp_in_lkm/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +--include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch5/lkm_template/Makefile b/ch5/lkm_template/Makefile index 45380ae..6443725 100644 --- a/ch5/lkm_template/Makefile +++ b/ch5/lkm_template/Makefile @@ -109,7 +109,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs (the '-' says 'continue on error') --include $(KDIR)/.config +--include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch5/min_sysinfo/Makefile b/ch5/min_sysinfo/Makefile index 5d0b02e..a22c08e 100644 --- a/ch5/min_sysinfo/Makefile +++ b/ch5/min_sysinfo/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch5/modparams/modparams1/Makefile b/ch5/modparams/modparams1/Makefile index 42cd1f1..0aec19d 100644 --- a/ch5/modparams/modparams1/Makefile +++ b/ch5/modparams/modparams1/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch6/current_affairs/Makefile b/ch6/current_affairs/Makefile index ae80382..1686039 100644 --- a/ch6/current_affairs/Makefile +++ b/ch6/current_affairs/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch6/foreach/thrd_showall/Makefile b/ch6/foreach/thrd_showall/Makefile index 28b519c..b2a641a 100644 --- a/ch6/foreach/thrd_showall/Makefile +++ b/ch6/foreach/thrd_showall/Makefile @@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch6/list_demo/Makefile b/ch6/list_demo/Makefile index 3b21777..b03d633 100644 --- a/ch6/list_demo/Makefile +++ b/ch6/list_demo/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch7/show_kernel_vas/Makefile b/ch7/show_kernel_vas/Makefile index 08dbe4f..9879dcd 100644 --- a/ch7/show_kernel_vas/Makefile +++ b/ch7/show_kernel_vas/Makefile @@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch7/sparsemem_show/Makefile b/ch7/sparsemem_show/Makefile index 1d02fc8..181fe7a 100644 --- a/ch7/sparsemem_show/Makefile +++ b/ch7/sparsemem_show/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch8/lowlevel_mem/Makefile b/ch8/lowlevel_mem/Makefile index ea4ec13..c7d091d 100644 --- a/ch8/lowlevel_mem/Makefile +++ b/ch8/lowlevel_mem/Makefile @@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch9/slab_custom/Makefile b/ch9/slab_custom/Makefile index 0ea9644..1be1487 100644 --- a/ch9/slab_custom/Makefile +++ b/ch9/slab_custom/Makefile @@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/ch9/vmalloc_demo/Makefile b/ch9/vmalloc_demo/Makefile index 8b47bc1..a6dfd38 100644 --- a/ch9/vmalloc_demo/Makefile +++ b/ch9/vmalloc_demo/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/solutions_to_assgn/ch13/miscdrv_rdwr_refcount/Makefile b/solutions_to_assgn/ch13/miscdrv_rdwr_refcount/Makefile index 1d8c0d2..7b47146 100644 --- a/solutions_to_assgn/ch13/miscdrv_rdwr_refcount/Makefile +++ b/solutions_to_assgn/ch13/miscdrv_rdwr_refcount/Makefile @@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly diff --git a/solutions_to_assgn/ch9/slab_custom_mult/Makefile b/solutions_to_assgn/ch9/slab_custom_mult/Makefile index d3a0961..fc496cc 100644 --- a/solutions_to_assgn/ch9/slab_custom_mult/Makefile +++ b/solutions_to_assgn/ch9/slab_custom_mult/Makefile @@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE KMODDIR ?= /lib/modules/$(shell uname -r) # Gain access to kernel configs -include $(KDIR)/.config +-include $(KDIR)/.config # Strip the module? Note: # a) Only strip debug symbols else it won't load correctly