From owner-cvs-src@FreeBSD.ORG Thu Apr 13 17:34:26 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75AA616A400; Thu, 13 Apr 2006 17:34:26 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8211D43D53; Thu, 13 Apr 2006 17:34:23 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3DHYNNP085966; Thu, 13 Apr 2006 17:34:23 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3DHYNcj085965; Thu, 13 Apr 2006 17:34:23 GMT (envelope-from imp) Message-Id: <200604131734.k3DHYNcj085965@repoman.freebsd.org> From: Warner Losh Date: Thu, 13 Apr 2006 17:34:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/boot/arm/at91/inc AT91RM9200.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 17:34:26 -0000 imp 2006-04-13 17:34:23 UTC FreeBSD src repository Modified files: sys/boot/arm/at91/inc AT91RM9200.h Log: Merge from p4: Many places used #define FOO ((unsigned int) 0x23) where a simpler #define FOO 0x23u would have sufficed. This practice is overly verbose and has the disadvantage that you can't say #if FOO == BAR #endif because the extra "unsigned int" tokens choke cpp's little brain. Migrate to the latter style to allow use in preprocessor statements. The two are the same semantically anyway in a C context (at least for the uses they are put to presently, C gurus can explain to me how they differ). Revision Changes Path 1.2 +1084 -1084 src/sys/boot/arm/at91/inc/AT91RM9200.h