Re: [PATCH 1/20] x86_64: Assembly safe page.h and pgtable.h

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


On Wed, Mar 07, 2007 at 12:29:20PM +0530, Vivek Goyal wrote:
> 
> 
> This patch makes pgtable.h and page.h safe to include
> in assembly files like head.S.  Allowing us to use
> symbolic constants instead of hard coded numbers when
> refering to the page tables.
> 
> This patch copies asm-sparc64/const.h to asm-x86_64 to
> get a definition of _AC() a very convinient macro that
> allows us to force the type when we are compiling the
> code in C and to drop all of the type information when
> we are using the constant in assembly.
Should this file not live in asm-generic and be useable
for all architectures?

	Sam
_______________________________________________
fastboot mailing list
fastboot@xxxxxxxxxxxxxx
https://lists.osdl.org/mailman/listinfo/fastboot


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux