Re: __ALIGN vs __ALIGN_STR

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

 



On 12/18/05, pradeep singh <2500.pradeep@xxxxxxxxx> wrote:
>
> what is the difference betwenn __ALIGN and __ALIGN_STR macros?
> i read that __ALIGN_STR is the string version of __ALIGN and does the
> same job as __ALIGN .
> i want to know in what sense they are actually diffrent?
> what are the limitations of __ALIGN which __ALIGN_STR overcomes?
>

What I can understand by looking at two macros is:

__ALIGN is actually can be used where there exists only variables (or
int/long etc) but __ALIGN_STR is actually doing the same thing as
__ALIGN but it expands to the string format and can be used where the
need of string is required. See arch/m68k/kernel/traps.c for its usage
(http://lxr.linux.no/source/arch/m68k/kernel/traps.c#L104) .....
(CMIIW)

--
Fawad Lateef

--
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