Commit Graph

40311 Commits

Author SHA1 Message Date
tron 6b429e7ed5 Remove unused kernel configuration. 2005-06-01 09:44:12 +00:00
martin 3829274a1e Adapt to constification 2005-06-01 03:51:58 +00:00
uwe 94216ed61f Use __UNCONST to pass default calibration data to tpcalib_ioctl(). 2005-05-31 23:21:03 +00:00
uwe c93f856fa9 Fix shadowing. 2005-05-31 23:12:18 +00:00
uwe 1760382cc8 Constify as -Wcast-qual seyeth. 2005-05-31 22:45:04 +00:00
uwe 73c9c64f6c Declare platid_name() to return const.
Revert previous kludge, we can return string literal now.
2005-05-31 22:43:09 +00:00
uwe 87d1a94219 Make "name" in struct platid_name const.
Declare platid_name() to return pointer to const.
2005-05-31 22:41:28 +00:00
drochner d033b4e4b0 as in apm, the "busname" thing is unnecessary
being here, fix constification problems and cleanup variable names
from function prototypes
2005-05-31 22:39:08 +00:00
uwe c7e2bd07b6 Don't return string literal from a function that is not declared to
return const.

XXX: Kludge for now, I don't want to deal with the fallout, especially
as this code is also compile for Windows CE (hpcboot.exe).
2005-05-31 22:36:12 +00:00
uwe e7b971967b Avoid naming function parameters "platid", there's a global variable
of that name.
2005-05-31 22:28:49 +00:00
tron a97eb895f6 Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
2005-05-31 22:23:52 +00:00
tron fe980f65d4 Remove unnecessary per-driver scsibus attachments and use
"scsibus* at scsi?" instead.
2005-05-31 22:09:08 +00:00
uwe 49d5bf28d9 Rename s/newlwp/nlwp/ parameter to cpu_switch_prepare() to avoid
shadowing a function of the same name.  Rename oldlwp to match.
2005-05-31 22:06:51 +00:00
uwe 639d538d14 Constify as -Wcast-qual seyeth. 2005-05-31 22:01:24 +00:00
drochner 5e6bfb3b86 inspired by the last commit -- apm_attach_args aren't necessary at all,
kill them
being here fix cast-qual problems in debug code
2005-05-31 21:47:22 +00:00
martin b7680d1847 Rearange slightly to avoid the use of an unitialized variable in the
(unlikely) case that we do not have any hardware clock.
2005-05-31 21:34:21 +00:00
christos 2514b28c3f PR/30387: Nicolas Joly: -current i386 GENERIC_LAPTOP kernel compilation failure 2005-05-31 17:51:49 +00:00
macallan 71c7a235ad added initialization for tv in resettodr() 2005-05-31 17:34:35 +00:00
macallan 2ab2c90883 fixed a stupid typo that chained copycols to itself 2005-05-31 17:33:02 +00:00
chs b884f8c664 adapt to const changes. 2005-05-31 16:13:31 +00:00
chs 34945e7b56 adapt to const changes.
replace local b_cylin alias with the usual b_cylinder.
2005-05-31 16:13:09 +00:00
chs 90fe0e8ced avoid a shadow. 2005-05-31 16:10:47 +00:00
macallan e149dd92ec added missing ffb_ras_wait() 2005-05-31 14:36:17 +00:00
yamt 24ca3e95ec sync with i386. (avoid shadowing) 2005-05-31 13:53:15 +00:00
yamt 80d547c255 remove local prototypes of printk. 2005-05-31 12:44:29 +00:00
yamt 457b7ee79b always provide prototype of printk for now. because:
- currently its implementation is always compiled in.
	- there're users which don't honor XENDEBUG.
2005-05-31 12:42:58 +00:00
yamt bcc5a2379e avoid variable shadowing. 2005-05-31 12:36:56 +00:00
yamt 9a13650e12 constify. 2005-05-31 11:57:13 +00:00
yamt 3a00578853 x86_variable_test_bit: don't remove const qualifier unnecessarily. 2005-05-31 04:34:53 +00:00
christos f6b4c20f18 s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name. 2005-05-31 04:03:08 +00:00
macallan d2c9943bdd added support for virtual consoles 2005-05-31 02:48:37 +00:00
christos f69f7eea28 add missing const 2005-05-31 00:57:07 +00:00
christos 6334595660 - sprinkle const
- change to ansi prototypes
2005-05-31 00:55:45 +00:00
christos 69809b648c - sprinkle const
- convert to ansi prototypes.
2005-05-31 00:54:57 +00:00
christos be19dad5b6 - sprinkle const
- remove parameter names from function declarations
2005-05-31 00:54:05 +00:00
christos c7adb6dca7 - sprinkle const
- avoid shadowed variables
2005-05-31 00:53:02 +00:00
christos 962a880036 add a const and remove bogus casts. 2005-05-31 00:52:24 +00:00
christos 567dd2f4cd Deal with the fact that time is volatile and todr_*() are not. This needs
to be fixed properly.
2005-05-31 00:51:57 +00:00
christos 1a18f24f3c - sprinkle const
- avoid variable shadow
2005-05-31 00:50:28 +00:00
christos a38d2d274a sprinkle const. 2005-05-31 00:49:42 +00:00
chs b0a8a83e7b remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them. 2005-05-31 00:45:02 +00:00
chs 6cefe93bda adapt to const changes. 2005-05-31 00:40:17 +00:00
thorpej db352e3490 Use TOOL_GENASSYM. Part of PR toolchain/30350 2005-05-30 23:30:57 +00:00
he 57ef378309 Adapt to recent constification of db_interface.h and db_sym.h. 2005-05-30 21:15:28 +00:00
thorpej 5821e751d0 Use TOOL_GENASSYM. 2005-05-30 18:33:15 +00:00
he 38e7ca57fc Adapt to constification of sys/ddb/db_interface.h. 2005-05-30 17:39:17 +00:00
chs 5c867a1927 wrap the declaration of hppa_cpu_info in #ifdef _KERNEL. 2005-05-30 17:15:29 +00:00
chs b519d44134 adapt to const changes. 2005-05-30 16:04:53 +00:00
chs 0400611d8a adapt to const changes. 2005-05-30 16:02:09 +00:00
tsutsui 1c0b1f52ef Don't define zstty as an attribute so that children of zstty (kbd and ms)
are attached properly. Tested on tme.
2005-05-30 15:16:51 +00:00