Re: [PATCH 9/19] TuxOnIce: Netlink support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 07, 2009 at 12:39:05AM +1000, Nigel Cunningham wrote:
> This patch adds support for communicating with a userspace helper via a
> netlink socket. It is used by the userspace user interface support and
> by the storage manager support.
> 
> Signed-off-by: Nigel Cunningham <nigel@xxxxxxxxxxxx>
> ---
>  kernel/power/Makefile           |    4 +
>  kernel/power/tuxonice_netlink.c |  339 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 343 insertions(+), 0 deletions(-)
>  create mode 100644 kernel/power/tuxonice_netlink.c
> 
> diff --git a/kernel/power/Makefile b/kernel/power/Makefile
> index 07efc8a..180b89a 100644
> --- a/kernel/power/Makefile
> +++ b/kernel/power/Makefile
> @@ -10,6 +10,10 @@ tuxonice_core-objs := tuxonice_modules.o tuxonice_sysfs.o tuxonice_highlevel.o \
>  
>  obj-$(CONFIG_TOI)		+= tuxonice_builtin.o
>  
> +ifdef CONFIG_NET
> +tuxonice_core-objs		+= tuxonice_netlink.o
> +endif

If you replace tuxonice_core-objs with tuxonice_core-y in your MAkefile the
above can be simplified to:
tuxonice_core-$(CONFIG_NET) += tuxonice_netlink.o

(On the assumption that CONFIG_NET is a bool)

	Sam
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux