From: Jeff Dike Date: Tue, 5 Feb 2008 06:30:44 +0000 (-0800) Subject: uml: borrow const.h techniques X-Git-Tag: v2.6.25-rc1~853 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bdf8bc4a15d4540d71db9fa01955db5edcf89ec;p=pandora-kernel.git uml: borrow const.h techniques Suggested by Geert Uytterhoeven - use const.h to get constants that are usable in both C and assembly. I can't include it directly since this code can't include kernel headers. const.h is also for numeric constants that can be typed by tacking a "UL" or similar on the end. The constants here have to be typed by casting them. So, the relevant parts of const.h are copied here and modified in order to allow the constants to be uncasted in assembly and casted in C. Signed-off-by: Jeff Dike Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed