freebsd-src/sys/powerpc
Tijl Coosemans 9858863cd4 Fix types of some values in machine/_limits.h.
On some architectures UCHAR_MAX and USHRT_MAX had type unsigned int.
However, lacking integer suffixes for types smaller than int, their type
should correspond to that of an object of type unsigned char (or short)
when used in an expression with objects of type int. In that case unsigned
char (short) are promoted to int (i.e. signed) so the type of UCHAR_MAX and
USHRT_MAX should also be int.

Where MIN/MAX constants implicitly have the correct type the suffix has
been removed.

While here, correct some comments.

Reviewed by:	bde
Approved by:	kib (mentor)
2011-01-08 11:13:34 +00:00
..
aim Remove unused variables. Spotted by a cppcheck 2011-01-06 20:19:01 +00:00
booke After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
compile
conf Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is 2011-01-06 14:12:24 +00:00
cpufreq Remove unused variables. Spotted by a cppcheck 2011-01-06 20:19:01 +00:00
fpu The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:07:02 +00:00
include Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
mambo Don't create spurious /dev entries. 2010-10-25 15:41:12 +00:00
mpc85xx Restructure how reset and poweroff are handled on PowerPC systems, since 2010-08-31 15:27:46 +00:00
ofw Fix null string handling in ofw_real_nextprop function. Pass the right 2011-01-05 21:38:02 +00:00
powermac Remove unused variables. Spotted by a cppcheck 2011-01-06 20:19:01 +00:00
powerpc Remove bogus usage of INTR_FAST. "Fast" interrupts are now indicated by 2011-01-06 21:08:06 +00:00
ps3 Import support for the Sony Playstation 3 using the OtherOS feature 2011-01-06 04:12:29 +00:00
psim Remove the unneeded header <machine/intr.h>. 2010-07-02 02:17:39 +00:00