Re: query about the usage of kmalloc

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

 



----- Original Message ----- 
From: "dongleijun" <dongleijun4000@xxxxxxxxxxx>
To: <kernelnewbies@xxxxxxxxxxxx>
Sent: Thursday, August 12, 2004 7:28 AM
Subject: query about the usage of kmalloc


> when I gcc -c main.c
> the compiler says:
> main.c: In function `init_module':
> main.c:20: `GFP_KERNEL' undeclared (first use in this function)

GFP_KERNEL is defined in linux/mm.h

Regards
Mohanlal



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux