Pull trivial tree from Jiri Kosina: "It's indeed trivial -- mostly documentation updates and a bunch of typo fixes from Masanari. There are also several linux/version.h include removals from Jesper." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (101 commits) kcore: fix spelling in read_kcore() comment constify struct pci_dev * in obvious cases Revert "char: Fix typo in viotape.c" init: fix wording error in mm_init comment usb: gadget: Kconfig: fix typo for 'different' Revert "power, max8998: Include linux/module.h just once in drivers/power/max8998_charger.c" writeback: fix fn name in writeback_inodes_sb_nr_if_idle() comment header writeback: fix typo in the writeback_control comment Documentation: Fix multiple typo in Documentation tpm_tis: fix tis_lock with respect to RCU Revert "media: Fix typo in mixer_drv.c and hdmi_drv.c" Doc: Update numastat.txt qla4xxx: Add missing spaces to error messages compiler.h: Fix typo security: struct security_operations kerneldoc fix Documentation: broken URL in libata.tmpl Documentation: broken URL in filesystems.tmpl mtd: simplify return logic in do_map_probe() mm: fix comment typo of truncate_inode_pages_range power: bq27x00: Fix typos in comment ...
Unified · Split
| @@ -7,8 +7,8 @@ Please try and keep the descriptions small enough to fit on one line. · 6 unmodified lines | |||
| 7 | 7 | ||
| 8 | Following translations are available on the WWW: | 8 | Following translations are available on the WWW: |
| 9 | 9 | ||
| 10 | - Japanese, maintained by the JF Project (JF@linux.or.jp), at | 10 | - Japanese, maintained by the JF Project (jf@listserv.linux.or.jp), at |
| 11 | http://www.linux.or.jp/JF/ | 11 | http://linuxjf.sourceforge.jp/ |
| 12 | 12 | ||
| 13 | 00-INDEX | 13 | 00-INDEX |
| 14 | - this file. | 14 | - this file. |
| @@ -7,7 +7,7 @@ Date: 09-Jul-2007 · 6 unmodified lines | |||
| 7 | KernelVersion v2.6.22 | 7 | KernelVersion v2.6.22 |
| 8 | Contact: linux-wireless@vger.kernel.org | 8 | Contact: linux-wireless@vger.kernel.org |
| 9 | Description: Current state of the transmitter. | 9 | Description: Current state of the transmitter. |
| 10 | This file is deprecated and sheduled to be removed in 2014, | 10 | This file is deprecated and scheduled to be removed in 2014, |
| 11 | because its not possible to express the 'soft and hard block' | 11 | because its not possible to express the 'soft and hard block' |
| 12 | state of the rfkill driver. | 12 | state of the rfkill driver. |
| 13 | Values: A numeric value. | 13 | Values: A numeric value. |
| @@ -6,7 +6,7 @@ Description: · 5 unmodified lines | |||
| 6 | The name of the module that is in the kernel. This | 6 | The name of the module that is in the kernel. This |
| 7 | module name will show up either if the module is built | 7 | module name will show up either if the module is built |
| 8 | directly into the kernel, or if it is loaded as a | 8 | directly into the kernel, or if it is loaded as a |
| 9 | dyanmic module. | 9 | dynamic module. |
| 10 | 10 | ||
| 11 | /sys/module/MODULENAME/parameters | 11 | /sys/module/MODULENAME/parameters |
| 12 | This directory contains individual files that are each | 12 | This directory contains individual files that are each |
| @@ -387,7 +387,7 @@ an example. · 386 unmodified lines | |||
| 387 | <title>See also</title> | 387 | <title>See also</title> |
| 388 | <para> | 388 | <para> |
| 389 | <citation> | 389 | <citation> |
| 390 | <ulink url="ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/journal-design.ps.gz"> | 390 | <ulink url="http://kernel.org/pub/linux/kernel/people/sct/ext3/journal-design.ps.gz"> |
| 391 | Journaling the Linux ext2fs Filesystem, LinuxExpo 98, Stephen Tweedie | 391 | Journaling the Linux ext2fs Filesystem, LinuxExpo 98, Stephen Tweedie |
| 392 | </ulink> | 392 | </ulink> |
| 393 | </citation> | 393 | </citation> |
| @@ -22,8 +22,8 @@ · 21 unmodified lines | |||
| 22 | <para> | 22 | <para> |
| 23 | The contents of this file are subject to the Open | 23 | The contents of this file are subject to the Open |
| 24 | Software License version 1.1 that can be found at | 24 | Software License version 1.1 that can be found at |
| 25 | <ulink url="http://www.opensource.org/licenses/osl-1.1.txt">http://www.opensource.org/licenses/osl-1.1.txt</ulink> and is included herein | 25 | <ulink url="http://fedoraproject.org/wiki/Licensing:OSL1.1">http://fedoraproject.org/wiki/Licensing:OSL1.1</ulink> |
| 26 | by reference. | 26 | and is included herein by reference. |
| 27 | </para> | 27 | </para> |
| 28 | 28 | ||
| 29 | <para> | 29 | <para> |
| @@ -945,7 +945,7 @@ and other resources, etc. · 915 unmodified lines | |||
| 945 | 945 | ||
| 946 | <listitem> | 946 | <listitem> |
| 947 | <para> | 947 | <para> |
| 948 | !BSY && ERR after CDB tranfer starts but before the | 948 | !BSY && ERR after CDB transfer starts but before the |
| 949 | last byte of CDB is transferred. ATA/ATAPI standard states | 949 | last byte of CDB is transferred. ATA/ATAPI standard states |
| 950 | that "The device shall not terminate the PACKET command | 950 | that "The device shall not terminate the PACKET command |
| 951 | with an error before the last byte of the command packet has | 951 | with an error before the last byte of the command packet has |
| @@ -1050,7 +1050,7 @@ and other resources, etc. · 98 unmodified lines | |||
| 1050 | to complete a command. Combined with the fact that MWDMA | 1050 | to complete a command. Combined with the fact that MWDMA |
| 1051 | and PIO transfer errors aren't allowed to use ICRC bit up to | 1051 | and PIO transfer errors aren't allowed to use ICRC bit up to |
| 1052 | ATA/ATAPI-7, it seems to imply that ABRT bit alone could | 1052 | ATA/ATAPI-7, it seems to imply that ABRT bit alone could |
| 1053 | indicate tranfer errors. | 1053 | indicate transfer errors. |
| 1054 | </para> | 1054 | </para> |
| 1055 | <para> | 1055 | <para> |
| 1056 | However, ATA/ATAPI-8 draft revision 1f removes the part | 1056 | However, ATA/ATAPI-8 draft revision 1f removes the part |
| @@ -444,7 +444,7 @@ linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR24</constant></link></para></entr · 443 unmodified lines | |||
| 444 | <entry><para><link | 444 | <entry><para><link |
| 445 | linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR32</constant></link><footnote> | 445 | linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR32</constant></link><footnote> |
| 446 | <para>Presumably all V4L RGB formats are | 446 | <para>Presumably all V4L RGB formats are |
| 447 | little-endian, although some drivers might interpret them according to machine endianess. V4L2 defines little-endian, big-endian and red/blue | 447 | little-endian, although some drivers might interpret them according to machine endianness. V4L2 defines little-endian, big-endian and red/blue |
| 448 | swapped variants. For details see <xref linkend="pixfmt-rgb" />.</para> | 448 | swapped variants. For details see <xref linkend="pixfmt-rgb" />.</para> |
| 449 | </footnote></para></entry> | 449 | </footnote></para></entry> |
| 450 | </row> | 450 | </row> |
| @@ -823,7 +823,7 @@ standard); 35468950 Hz PAL and SECAM (625-line standards)</entry> · 372 unmodified lines | |||
| 823 | <row> | 823 | <row> |
| 824 | <entry>sample_format</entry> | 824 | <entry>sample_format</entry> |
| 825 | <entry>V4L2_PIX_FMT_GREY. The last four bytes (a | 825 | <entry>V4L2_PIX_FMT_GREY. The last four bytes (a |
| 826 | machine endianess integer) contain a frame counter.</entry> | 826 | machine endianness integer) contain a frame counter.</entry> |
| 827 | </row> | 827 | </row> |
| 828 | <row> | 828 | <row> |
| 829 | <entry>start[]</entry> | 829 | <entry>start[]</entry> |
| @@ -25,7 +25,7 @@ inline (either in the code emitted directly by the compiler, or part of · 24 unmodified lines | |||
| 25 | the implementation of a library call) when optimizing for a recent enough | 25 | the implementation of a library call) when optimizing for a recent enough |
| 26 | processor that has the necessary native support, but only if resulting | 26 | processor that has the necessary native support, but only if resulting |
| 27 | binaries are already to be incompatible with earlier ARM processors due to | 27 | binaries are already to be incompatible with earlier ARM processors due to |
| 28 | useage of similar native instructions for other things. In other words | 28 | usage of similar native instructions for other things. In other words |
| 29 | don't make binaries unable to run on earlier processors just for the sake | 29 | don't make binaries unable to run on earlier processors just for the sake |
| 30 | of not using these kernel helpers if your compiled code is not going to | 30 | of not using these kernel helpers if your compiled code is not going to |
| 31 | use new instructions for other purpose. | 31 | use new instructions for other purpose. |
| @@ -94,11 +94,11 @@ Throttling/Upper Limit policy · 93 unmodified lines | |||
| 94 | 94 | ||
| 95 | Hierarchical Cgroups | 95 | Hierarchical Cgroups |
| 96 | ==================== | 96 | ==================== |
| 97 | - Currently none of the IO control policy supports hierarhical groups. But | 97 | - Currently none of the IO control policy supports hierarchical groups. But |
| 98 | cgroup interface does allow creation of hierarhical cgroups and internally | 98 | cgroup interface does allow creation of hierarchical cgroups and internally |
| 99 | IO policies treat them as flat hierarchy. | 99 | IO policies treat them as flat hierarchy. |
| 100 | 100 | ||
| 101 | So this patch will allow creation of cgroup hierarhcy but at the backend | 101 | So this patch will allow creation of cgroup hierarchcy but at the backend |
| 102 | everything will be treated as flat. So if somebody created a hierarchy like | 102 | everything will be treated as flat. So if somebody created a hierarchy like |
| 103 | as follows. | 103 | as follows. |
| 104 | 104 | ||
| @@ -266,7 +266,7 @@ Proportional weight policy files · 161 unmodified lines | |||
| 266 | - blkio.idle_time | 266 | - blkio.idle_time |
| 267 | - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y. | 267 | - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y. |
| 268 | This is the amount of time spent by the IO scheduler idling for a | 268 | This is the amount of time spent by the IO scheduler idling for a |
| 269 | given cgroup in anticipation of a better request than the exising ones | 269 | given cgroup in anticipation of a better request than the existing ones |
| 270 | from other queues/cgroups. This is in nanoseconds. If this is read | 270 | from other queues/cgroups. This is in nanoseconds. If this is read |
| 271 | when the cgroup is in an idling state, the stat will only report the | 271 | when the cgroup is in an idling state, the stat will only report the |
| 272 | idle_time accumulated till the last idle period and will not include | 272 | idle_time accumulated till the last idle period and will not include |
| @@ -283,34 +283,34 @@ Throttling/Upper limit policy files · 10 unmodified lines | |||
| 283 | ----------------------------------- | 283 | ----------------------------------- |
| 284 | - blkio.throttle.read_bps_device | 284 | - blkio.throttle.read_bps_device |
| 285 | - Specifies upper limit on READ rate from the device. IO rate is | 285 | - Specifies upper limit on READ rate from the device. IO rate is |
| 286 | specified in bytes per second. Rules are per deivce. Following is | 286 | specified in bytes per second. Rules are per device. Following is |
| 287 | the format. | 287 | the format. |
| 288 | 288 | ||
| 289 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device | 289 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device |
| 290 | 290 | ||
| 291 | - blkio.throttle.write_bps_device | 291 | - blkio.throttle.write_bps_device |
| 292 | - Specifies upper limit on WRITE rate to the device. IO rate is | 292 | - Specifies upper limit on WRITE rate to the device. IO rate is |
| 293 | specified in bytes per second. Rules are per deivce. Following is | 293 | specified in bytes per second. Rules are per device. Following is |
| 294 | the format. | 294 | the format. |
| 295 | 295 | ||
| 296 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device | 296 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device |
| 297 | 297 | ||
| 298 | - blkio.throttle.read_iops_device | 298 | - blkio.throttle.read_iops_device |
| 299 | - Specifies upper limit on READ rate from the device. IO rate is | 299 | - Specifies upper limit on READ rate from the device. IO rate is |
| 300 | specified in IO per second. Rules are per deivce. Following is | 300 | specified in IO per second. Rules are per device. Following is |
| 301 | the format. | 301 | the format. |
| 302 | 302 | ||
| 303 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device | 303 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device |
| 304 | 304 | ||
| 305 | - blkio.throttle.write_iops_device | 305 | - blkio.throttle.write_iops_device |
| 306 | - Specifies upper limit on WRITE rate to the device. IO rate is | 306 | - Specifies upper limit on WRITE rate to the device. IO rate is |
| 307 | specified in io per second. Rules are per deivce. Following is | 307 | specified in io per second. Rules are per device. Following is |
| 308 | the format. | 308 | the format. |
| 309 | 309 | ||
| 310 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device | 310 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device |
| 311 | 311 | ||
| 312 | Note: If both BW and IOPS rules are specified for a device, then IO is | 312 | Note: If both BW and IOPS rules are specified for a device, then IO is |
| 313 | subjectd to both the constraints. | 313 | subjected to both the constraints. |
| 314 | 314 | ||
| 315 | - blkio.throttle.io_serviced | 315 | - blkio.throttle.io_serviced |
| 316 | - Number of IOs (bio) completed to/from the disk by the group (as | 316 | - Number of IOs (bio) completed to/from the disk by the group (as |
| @@ -28,7 +28,7 @@ The target is named "raid" and it accepts the following parameters: · 27 unmodified lines | |||
| 28 | raid6_nc RAID6 N continue | 28 | raid6_nc RAID6 N continue |
| 29 | - rotating parity N (right-to-left) with data continuation | 29 | - rotating parity N (right-to-left) with data continuation |
| 30 | 30 | ||
| 31 | Refererence: Chapter 4 of | 31 | Reference: Chapter 4 of |
| 32 | http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf | 32 | http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf |
| 33 | 33 | ||
| 34 | <#raid_params>: The number of parameters that follow. | 34 | <#raid_params>: The number of parameters that follow. |
| @@ -3,7 +3,7 @@ Introduction · 2 unmodified lines | |||
| 3 | 3 | ||
| 4 | The more-sophisticated device-mapper targets require complex metadata | 4 | The more-sophisticated device-mapper targets require complex metadata |
| 5 | that is managed in kernel. In late 2010 we were seeing that various | 5 | that is managed in kernel. In late 2010 we were seeing that various |
| 6 | different targets were rolling their own data strutures, for example: | 6 | different targets were rolling their own data structures, for example: |
| 7 | 7 | ||
| 8 | - Mikulas Patocka's multisnap implementation | 8 | - Mikulas Patocka's multisnap implementation |
| 9 | - Heinz Mauelshagen's thin provisioning target | 9 | - Heinz Mauelshagen's thin provisioning target |
| @@ -1,7 +1,7 @@ | |||
| 1 | Introduction | 1 | Introduction |
| 2 | ============ | 2 | ============ |
| 3 | 3 | ||
| 4 | This document descibes a collection of device-mapper targets that | 4 | This document describes a collection of device-mapper targets that |
| 5 | between them implement thin-provisioning and snapshots. | 5 | between them implement thin-provisioning and snapshots. |
| 6 | 6 | ||
| 7 | The main highlight of this implementation, compared to the previous | 7 | The main highlight of this implementation, compared to the previous |
| @@ -5,7 +5,7 @@ IPs present in the SoC. · 4 unmodified lines | |||
| 5 | On top of that an omap_device is created to extend the platform_device | 5 | On top of that an omap_device is created to extend the platform_device |
| 6 | capabilities and to allow binding with one or several hwmods. | 6 | capabilities and to allow binding with one or several hwmods. |
| 7 | The hwmods will contain all the information to build the device: | 7 | The hwmods will contain all the information to build the device: |
| 8 | adresse range, irq lines, dma lines, interconnect, PRCM register, | 8 | address range, irq lines, dma lines, interconnect, PRCM register, |
| 9 | clock domain, input clocks. | 9 | clock domain, input clocks. |
| 10 | For the moment just point to the existing hwmod, the next step will be | 10 | For the moment just point to the existing hwmod, the next step will be |
| 11 | to move data from hwmod to device-tree representation. | 11 | to move data from hwmod to device-tree representation. |
| @@ -1,3 +1,3 @@ | |||
| 1 | prima2 "cb" evalutation board | 1 | prima2 "cb" evaluation board |
| 2 | Required root node properties: | 2 | Required root node properties: |
| 3 | - compatible = "sirf,prima2-cb", "sirf,prima2"; | 3 | - compatible = "sirf,prima2-cb", "sirf,prima2"; |
| @@ -169,7 +169,7 @@ it with special cases. · 168 unmodified lines | |||
| 169 | 169 | ||
| 170 | b) Entry with a flattened device-tree block. Firmware loads the | 170 | b) Entry with a flattened device-tree block. Firmware loads the |
| 171 | physical address of the flattened device tree block (dtb) into r2, | 171 | physical address of the flattened device tree block (dtb) into r2, |
| 172 | r1 is not used, but it is considered good practise to use a valid | 172 | r1 is not used, but it is considered good practice to use a valid |
| 173 | machine number as described in Documentation/arm/Booting. | 173 | machine number as described in Documentation/arm/Booting. |
| 174 | 174 | ||
| 175 | r0 : 0 | 175 | r0 : 0 |
| @@ -63,7 +63,7 @@ The slave DMA usage consists of following steps: · 62 unmodified lines | |||
| 63 | struct dma_slave_config *config) | 63 | struct dma_slave_config *config) |
| 64 | 64 | ||
| 65 | Please see the dma_slave_config structure definition in dmaengine.h | 65 | Please see the dma_slave_config structure definition in dmaengine.h |
| 66 | for a detailed explaination of the struct members. Please note | 66 | for a detailed explanation of the struct members. Please note |
| 67 | that the 'direction' member will be going away as it duplicates the | 67 | that the 'direction' member will be going away as it duplicates the |
| 68 | direction given in the prepare call. | 68 | direction given in the prepare call. |
| 69 | 69 | ||
| @@ -177,8 +177,8 @@ sgram - tells to driver that you have Gxx0 with SGRAM memory. It has no · 176 unmodified lines | |||
| 177 | effect without `init'. | 177 | effect without `init'. |
| 178 | sdram - tells to driver that you have Gxx0 with SDRAM memory. | 178 | sdram - tells to driver that you have Gxx0 with SDRAM memory. |
| 179 | It is a default. | 179 | It is a default. |
| 180 | inv24 - change timings parameters for 24bpp modes on Millenium and | 180 | inv24 - change timings parameters for 24bpp modes on Millennium and |
| 181 | Millenium II. Specify this if you see strange color shadows around | 181 | Millennium II. Specify this if you see strange color shadows around |
| 182 | characters. | 182 | characters. |
| 183 | noinv24 - use standard timings. It is the default. | 183 | noinv24 - use standard timings. It is the default. |
| 184 | inverse - invert colors on screen (for LCD displays) | 184 | inverse - invert colors on screen (for LCD displays) |
| @@ -204,9 +204,9 @@ grayscale - enable grayscale summing. It works in PSEUDOCOLOR modes (text, · 19 unmodified lines | |||
| 204 | can paint colors. | 204 | can paint colors. |
| 205 | nograyscale - disable grayscale summing. It is default. | 205 | nograyscale - disable grayscale summing. It is default. |
| 206 | cross4MB - enables that pixel line can cross 4MB boundary. It is default for | 206 | cross4MB - enables that pixel line can cross 4MB boundary. It is default for |
| 207 | non-Millenium. | 207 | non-Millennium. |
| 208 | nocross4MB - pixel line must not cross 4MB boundary. It is default for | 208 | nocross4MB - pixel line must not cross 4MB boundary. It is default for |
| 209 | Millenium I or II, because of these devices have hardware | 209 | Millennium I or II, because of these devices have hardware |
| 210 | limitations which do not allow this. But this option is | 210 | limitations which do not allow this. But this option is |
| 211 | incompatible with some (if not all yet released) versions of | 211 | incompatible with some (if not all yet released) versions of |
| 212 | XF86_FBDev. | 212 | XF86_FBDev. |
| @@ -308,7 +308,7 @@ min_batch_time=usec This parameter sets the commit time (as · 307 unmodified lines | |||
| 308 | fast disks, at the cost of increasing latency. | 308 | fast disks, at the cost of increasing latency. |
| 309 | 309 | ||
| 310 | journal_ioprio=prio The I/O priority (from 0 to 7, where 0 is the | 310 | journal_ioprio=prio The I/O priority (from 0 to 7, where 0 is the |
| 311 | highest priorty) which should be used for I/O | 311 | highest priority) which should be used for I/O |
| 312 | operations submitted by kjournald2 during a | 312 | operations submitted by kjournald2 during a |
| 313 | commit operation. This defaults to 3, which is | 313 | commit operation. This defaults to 3, which is |
| 314 | a slightly higher priority than the default I/O | 314 | a slightly higher priority than the default I/O |
| @@ -343,7 +343,7 @@ noinit_itable Do not initialize any uninitialized inode table · 28 unmodified lines | |||
| 343 | init_itable=n The lazy itable init code will wait n times the | 343 | init_itable=n The lazy itable init code will wait n times the |
| 344 | number of milliseconds it took to zero out the | 344 | number of milliseconds it took to zero out the |
| 345 | previous block group's inode table. This | 345 | previous block group's inode table. This |
| 346 | minimizes the impact on the systme performance | 346 | minimizes the impact on the system performance |
| 347 | while file system's inode table is being initialized. | 347 | while file system's inode table is being initialized. |
| 348 | 348 | ||
| 349 | discard Controls whether ext4 should issue discard/TRIM | 349 | discard Controls whether ext4 should issue discard/TRIM |
| @@ -62,7 +62,7 @@ be fixed. · 61 unmodified lines | |||
| 62 | 62 | ||
| 63 | The REMOVE uevent is generated at the end of an unsuccessful mount | 63 | The REMOVE uevent is generated at the end of an unsuccessful mount |
| 64 | or at the end of a umount of the filesystem. All REMOVE uevents will | 64 | or at the end of a umount of the filesystem. All REMOVE uevents will |
| 65 | have been preceded by at least an ADD uevent for the same fileystem, | 65 | have been preceded by at least an ADD uevent for the same filesystem, |
| 66 | and unlike the other uevents is generated automatically by the kernel's | 66 | and unlike the other uevents is generated automatically by the kernel's |
| 67 | kobject subsystem. | 67 | kobject subsystem. |
| 68 | 68 | ||
| @@ -20,7 +20,7 @@ Commands can be embedded into transaction command (which in turn has own command · 19 unmodified lines | |||
| 20 | so one can extend protocol as needed without breaking backward compatibility as long | 20 | so one can extend protocol as needed without breaking backward compatibility as long |
| 21 | as old commands are supported. All string lengths include tail 0 byte. | 21 | as old commands are supported. All string lengths include tail 0 byte. |
| 22 | 22 | ||
| 23 | All commands are transferred over the network in big-endian. CPU endianess is used at the end peers. | 23 | All commands are transferred over the network in big-endian. CPU endianness is used at the end peers. |
| 24 | 24 | ||
| 25 | @cmd - command number, which specifies command to be processed. Following | 25 | @cmd - command number, which specifies command to be processed. Following |
| 26 | commands are used currently: | 26 | commands are used currently: |
| @@ -297,7 +297,7 @@ the above threads) is: · 296 unmodified lines | |||
| 297 | either way about the archive format, and there are alternative tools, | 297 | either way about the archive format, and there are alternative tools, |
| 298 | such as: | 298 | such as: |
| 299 | 299 | ||
| 300 | http://freshmeat.net/projects/afio/ | 300 | http://freecode.com/projects/afio |
| 301 | 301 | ||
| 302 | 2) The cpio archive format chosen by the kernel is simpler and cleaner (and | 302 | 2) The cpio archive format chosen by the kernel is simpler and cleaner (and |
| 303 | thus easier to create and parse) than any of the (literally dozens of) | 303 | thus easier to create and parse) than any of the (literally dozens of) |
| @@ -993,7 +993,7 @@ struct dentry_operations { · 992 unmodified lines | |||
| 993 | 993 | ||
| 994 | If the 'rcu_walk' parameter is true, then the caller is doing a | 994 | If the 'rcu_walk' parameter is true, then the caller is doing a |
| 995 | pathwalk in RCU-walk mode. Sleeping is not permitted in this mode, | 995 | pathwalk in RCU-walk mode. Sleeping is not permitted in this mode, |
| 996 | and the caller can be asked to leave it and call again by returing | 996 | and the caller can be asked to leave it and call again by returning |
| 997 | -ECHILD. | 997 | -ECHILD. |
| 998 | 998 | ||
| 999 | This function is only used if DCACHE_MANAGE_TRANSIT is set on the | 999 | This function is only used if DCACHE_MANAGE_TRANSIT is set on the |
| @@ -53,7 +53,7 @@ attributes are write-only, all other attributes are read-only. · 52 unmodified lines | |||
| 53 | in1_label "vin1" or "vout1" depending on chip variant and | 53 | in1_label "vin1" or "vout1" depending on chip variant and |
| 54 | configuration. | 54 | configuration. |
| 55 | in1_input Measured voltage. | 55 | in1_input Measured voltage. |
| 56 | in1_min Minumum Voltage. | 56 | in1_min Minimum Voltage. |
| 57 | in1_max Maximum voltage. | 57 | in1_max Maximum voltage. |
| 58 | in1_min_alarm Voltage low alarm. | 58 | in1_min_alarm Voltage low alarm. |
| 59 | in1_max_alarm Voltage high alarm. | 59 | in1_max_alarm Voltage high alarm. |
| @@ -42,9 +42,9 @@ attributes are read-only. · 41 unmodified lines | |||
| 42 | 42 | ||
| 43 | in[1-4]_label "vout[1-4]" | 43 | in[1-4]_label "vout[1-4]" |
| 44 | in[1-4]_input Measured voltage. From READ_VOUT register. | 44 | in[1-4]_input Measured voltage. From READ_VOUT register. |
| 45 | in[1-4]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | 45 | in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
| 46 | in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 46 | in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 47 | in[1-4]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | 47 | in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
| 48 | in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 48 | in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 49 | in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 49 | in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 50 | in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 50 | in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -48,9 +48,9 @@ attributes are read-only. · 47 unmodified lines | |||
| 48 | 48 | ||
| 49 | in[1-6]_label "vout[1-6]". | 49 | in[1-6]_label "vout[1-6]". |
| 50 | in[1-6]_input Measured voltage. From READ_VOUT register. | 50 | in[1-6]_input Measured voltage. From READ_VOUT register. |
| 51 | in[1-6]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | 51 | in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
| 52 | in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 52 | in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 53 | in[1-6]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | 53 | in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
| 54 | in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 54 | in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 55 | in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 55 | in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 56 | in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 56 | in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -42,9 +42,9 @@ attributes are read-only. · 41 unmodified lines | |||
| 42 | 42 | ||
| 43 | in1_label "vout1" | 43 | in1_label "vout1" |
| 44 | in1_input Measured voltage. From READ_VOUT register. | 44 | in1_input Measured voltage. From READ_VOUT register. |
| 45 | in1_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | 45 | in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
| 46 | in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 46 | in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 47 | in1_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | 47 | in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
| 48 | in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 48 | in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 49 | in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 49 | in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 50 | in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 50 | in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -70,9 +70,9 @@ attributes are read-only. · 69 unmodified lines | |||
| 70 | 70 | ||
| 71 | in[1-12]_label "vout[1-12]". | 71 | in[1-12]_label "vout[1-12]". |
| 72 | in[1-12]_input Measured voltage. From READ_VOUT register. | 72 | in[1-12]_input Measured voltage. From READ_VOUT register. |
| 73 | in[1-12]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | 73 | in[1-12]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
| 74 | in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 74 | in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 75 | in[1-12]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | 75 | in[1-12]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
| 76 | in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 76 | in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 77 | in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 77 | in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 78 | in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 78 | in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -82,7 +82,7 @@ in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. · 3 unmodified lines | |||
| 82 | curr[1-12]_label "iout[1-12]". | 82 | curr[1-12]_label "iout[1-12]". |
| 83 | curr[1-12]_input Measured current. From READ_IOUT register. | 83 | curr[1-12]_input Measured current. From READ_IOUT register. |
| 84 | curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 84 | curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
| 85 | curr[1-12]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT | 85 | curr[1-12]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT |
| 86 | register. | 86 | register. |
| 87 | curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | 87 | curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. |
| 88 | curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | 88 | curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
| @@ -54,9 +54,9 @@ attributes are read-only. · 53 unmodified lines | |||
| 54 | 54 | ||
| 55 | in1_label "vin". | 55 | in1_label "vin". |
| 56 | in1_input Measured voltage. From READ_VIN register. | 56 | in1_input Measured voltage. From READ_VIN register. |
| 57 | in1_min Minumum Voltage. From VIN_UV_WARN_LIMIT register. | 57 | in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register. |
| 58 | in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. | 58 | in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. |
| 59 | in1_lcrit Critical minumum Voltage. VIN_UV_FAULT_LIMIT register. | 59 | in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register. |
| 60 | in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register. | 60 | in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register. |
| 61 | in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. | 61 | in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. |
| 62 | in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. | 62 | in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. |
| @@ -65,9 +65,9 @@ in1_crit_alarm Voltage critical high alarm. From VIN_OV_FAULT status. · 2 unmodified lines | |||
| 65 | 65 | ||
| 66 | in[2-5]_label "vout[1-4]". | 66 | in[2-5]_label "vout[1-4]". |
| 67 | in[2-5]_input Measured voltage. From READ_VOUT register. | 67 | in[2-5]_input Measured voltage. From READ_VOUT register. |
| 68 | in[2-5]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | 68 | in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. |
| 69 | in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | 69 | in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. |
| 70 | in[2-5]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | 70 | in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. |
| 71 | in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | 71 | in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. |
| 72 | in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | 72 | in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. |
| 73 | in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | 73 | in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. |
| @@ -80,7 +80,7 @@ curr1_input Measured current. From READ_IIN register. · 6 unmodified lines | |||
| 80 | curr[2-5]_label "iout[1-4]". | 80 | curr[2-5]_label "iout[1-4]". |
| 81 | curr[2-5]_input Measured current. From READ_IOUT register. | 81 | curr[2-5]_input Measured current. From READ_IOUT register. |
| 82 | curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | 82 | curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. |
| 83 | curr[2-5]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT | 83 | curr[2-5]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT |
| 84 | register. | 84 | register. |
| 85 | curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | 85 | curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. |
| 86 | curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | 86 | curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. |
| @@ -106,7 +106,7 @@ in1_label "vin" · 105 unmodified lines | |||
| 106 | in1_input Measured input voltage. | 106 | in1_input Measured input voltage. |
| 107 | in1_min Minimum input voltage. | 107 | in1_min Minimum input voltage. |
| 108 | in1_max Maximum input voltage. | 108 | in1_max Maximum input voltage. |
| 109 | in1_lcrit Critical minumum input voltage. | 109 | in1_lcrit Critical minimum input voltage. |
| 110 | in1_crit Critical maximum input voltage. | 110 | in1_crit Critical maximum input voltage. |
| 111 | in1_min_alarm Input voltage low alarm. | 111 | in1_min_alarm Input voltage low alarm. |
| 112 | in1_max_alarm Input voltage high alarm. | 112 | in1_max_alarm Input voltage high alarm. |
| @@ -115,7 +115,7 @@ in1_crit_alarm Input voltage critical high alarm. · 2 unmodified lines | |||
| 115 | 115 | ||
| 116 | in2_label "vout1" | 116 | in2_label "vout1" |
| 117 | in2_input Measured output voltage. | 117 | in2_input Measured output voltage. |
| 118 | in2_lcrit Critical minumum output Voltage. | 118 | in2_lcrit Critical minimum output Voltage. |
| 119 | in2_crit Critical maximum output voltage. | 119 | in2_crit Critical maximum output voltage. |
| 120 | in2_lcrit_alarm Critical output voltage critical low alarm. | 120 | in2_lcrit_alarm Critical output voltage critical low alarm. |
| 121 | in2_crit_alarm Critical output voltage critical high alarm. | 121 | in2_crit_alarm Critical output voltage critical high alarm. |
| @@ -138,7 +138,7 @@ VI. Setting Parameters · 137 unmodified lines | |||
| 138 | 138 | ||
| 139 | The return value is the size in bytes of the data written into | 139 | The return value is the size in bytes of the data written into |
| 140 | ops->resbuf if no errors occur. If an error occurs, -1 is returned | 140 | ops->resbuf if no errors occur. If an error occurs, -1 is returned |
| 141 | and errno is set appropriatly: | 141 | and errno is set appropriately: |
| 142 | 142 | ||
| 143 | EFAULT Invalid user space pointer was passed | 143 | EFAULT Invalid user space pointer was passed |
| 144 | ENXIO Invalid IOP number | 144 | ENXIO Invalid IOP number |
| @@ -222,7 +222,7 @@ VIII. Downloading Software · 77 unmodified lines | |||
| 222 | RETURNS | 222 | RETURNS |
| 223 | 223 | ||
| 224 | This function returns 0 no errors occur. If an error occurs, -1 | 224 | This function returns 0 no errors occur. If an error occurs, -1 |
| 225 | is returned and errno is set appropriatly: | 225 | is returned and errno is set appropriately: |
| 226 | 226 | ||
| 227 | EFAULT Invalid user space pointer was passed | 227 | EFAULT Invalid user space pointer was passed |
| 228 | ENXIO Invalid IOP number | 228 | ENXIO Invalid IOP number |
| @@ -264,7 +264,7 @@ IX. Uploading Software · 35 unmodified lines | |||
| 264 | RETURNS | 264 | RETURNS |
| 265 | 265 | ||
| 266 | This function returns 0 if no errors occur. If an error occurs, -1 | 266 | This function returns 0 if no errors occur. If an error occurs, -1 |
| 267 | is returned and errno is set appropriatly: | 267 | is returned and errno is set appropriately: |
| 268 | 268 | ||
| 269 | EFAULT Invalid user space pointer was passed | 269 | EFAULT Invalid user space pointer was passed |
| 270 | ENXIO Invalid IOP number | 270 | ENXIO Invalid IOP number |
| @@ -301,7 +301,7 @@ X. Removing Software · 30 unmodified lines | |||
| 301 | RETURNS | 301 | RETURNS |
| 302 | 302 | ||
| 303 | This function returns 0 if no errors occur. If an error occurs, -1 | 303 | This function returns 0 if no errors occur. If an error occurs, -1 |
| 304 | is returned and errno is set appropriatly: | 304 | is returned and errno is set appropriately: |
| 305 | 305 | ||
| 306 | EFAULT Invalid user space pointer was passed | 306 | EFAULT Invalid user space pointer was passed |
| 307 | ENXIO Invalid IOP number | 307 | ENXIO Invalid IOP number |
| @@ -325,7 +325,7 @@ X. Validating Configuration · 17 unmodified lines | |||
| 325 | RETURNS | 325 | RETURNS |
| 326 | 326 | ||
| 327 | This function returns 0 if no erro occur. If an error occurs, -1 is | 327 | This function returns 0 if no erro occur. If an error occurs, -1 is |
| 328 | returned and errno is set appropriatly: | 328 | returned and errno is set appropriately: |
| 329 | 329 | ||
| 330 | ETIMEDOUT Timeout waiting for reply message | 330 | ETIMEDOUT Timeout waiting for reply message |
| 331 | ENXIO Invalid IOP number | 331 | ENXIO Invalid IOP number |
| @@ -360,7 +360,7 @@ XI. Configuration Dialog · 28 unmodified lines | |||
| 360 | RETURNS | 360 | RETURNS |
| 361 | 361 | ||
| 362 | This function returns 0 if no error occur. If an error occurs, -1 | 362 | This function returns 0 if no error occur. If an error occurs, -1 |
| 363 | is returned and errno is set appropriatly: | 363 | is returned and errno is set appropriately: |
| 364 | 364 | ||
| 365 | EFAULT Invalid user space pointer was passed | 365 | EFAULT Invalid user space pointer was passed |
| 366 | ENXIO Invalid IOP number | 366 | ENXIO Invalid IOP number |
| @@ -175,7 +175,7 @@ · 174 unmodified lines | |||
| 175 | * since the .pdf version doesn't seem to work... | 175 | * since the .pdf version doesn't seem to work... |
| 176 | * -- Updated the TODO list to something more current. | 176 | * -- Updated the TODO list to something more current. |
| 177 | * | 177 | * |
| 178 | * 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect mechine endianess, | 178 | * 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect machine endianness, |
| 179 | * patch thanks to "Eddie C. Dost" <ecd@skynet.be> | 179 | * patch thanks to "Eddie C. Dost" <ecd@skynet.be> |
| 180 | * | 180 | * |
| 181 | * 4.50 Oct 19, 1998 -- New maintainers! | 181 | * 4.50 Oct 19, 1998 -- New maintainers! |
| @@ -132,8 +132,8 @@ number of contacts (f1 and f0 in the table below). · 131 unmodified lines | |||
| 132 | byte 5: 0 1 ? ? ? ? f1 f0 | 132 | byte 5: 0 1 ? ? ? ? f1 f0 |
| 133 | 133 | ||
| 134 | This packet only appears after a position packet with the mt bit set, and | 134 | This packet only appears after a position packet with the mt bit set, and |
| 135 | ususally only appears when there are two or more contacts (although | 135 | usually only appears when there are two or more contacts (although |
| 136 | ocassionally it's seen with only a single contact). | 136 | occassionally it's seen with only a single contact). |
| 137 | 137 | ||
| 138 | The final v3 packet type is the trackstick packet. | 138 | The final v3 packet type is the trackstick packet. |
| 139 | 139 | ||
| @@ -330,7 +330,7 @@ the USB documentation for how to setup an USB mouse. · 329 unmodified lines | |||
| 330 | The TM DirectConnect (BSP) protocol is supported by the tmdc.c | 330 | The TM DirectConnect (BSP) protocol is supported by the tmdc.c |
| 331 | module. This includes, but is not limited to: | 331 | module. This includes, but is not limited to: |
| 332 | 332 | ||
| 333 | * ThrustMaster Millenium 3D Inceptor | 333 | * ThrustMaster Millennium 3D Interceptor |
| 334 | * ThrustMaster 3D Rage Pad | 334 | * ThrustMaster 3D Rage Pad |
| 335 | * ThrustMaster Fusion Digital Game Pad | 335 | * ThrustMaster Fusion Digital Game Pad |
| 336 | 336 | ||
| @@ -596,7 +596,7 @@ HDIO_DRIVE_TASKFILE execute raw taskfile · 595 unmodified lines | |||
| 596 | if CHS/LBA28 | 596 | if CHS/LBA28 |
| 597 | 597 | ||
| 598 | The association between in_flags.all and each enable | 598 | The association between in_flags.all and each enable |
| 599 | bitfield flips depending on endianess; fortunately, TASKFILE | 599 | bitfield flips depending on endianness; fortunately, TASKFILE |
| 600 | only uses inflags.b.data bit and ignores all other bits. | 600 | only uses inflags.b.data bit and ignores all other bits. |
| 601 | The end result is that, on any endian machines, it has no | 601 | The end result is that, on any endian machines, it has no |
| 602 | effect other than modifying in_flags on completion. | 602 | effect other than modifying in_flags on completion. |
| @@ -720,7 +720,7 @@ HDIO_DRIVE_TASKFILE execute raw taskfile · 117 unmodified lines | |||
| 720 | 720 | ||
| 721 | [6] Do not access {in|out}_flags->all except for resetting | 721 | [6] Do not access {in|out}_flags->all except for resetting |
| 722 | all the bits. Always access individual bit fields. ->all | 722 | all the bits. Always access individual bit fields. ->all |
| 723 | value will flip depending on endianess. For the same | 723 | value will flip depending on endianness. For the same |
| 724 | reason, do not use IDE_{TASKFILE|HOB}_STD_{OUT|IN}_FLAGS | 724 | reason, do not use IDE_{TASKFILE|HOB}_STD_{OUT|IN}_FLAGS |
| 725 | constants defined in hdreg.h. | 725 | constants defined in hdreg.h. |
| 726 | 726 | ||
| @@ -117,7 +117,7 @@ applicable everywhere (see syntax). · 116 unmodified lines | |||
| 117 | This attribute is only applicable to menu blocks, if the condition is | 117 | This attribute is only applicable to menu blocks, if the condition is |
| 118 | false, the menu block is not displayed to the user (the symbols | 118 | false, the menu block is not displayed to the user (the symbols |
| 119 | contained there can still be selected by other symbols, though). It is | 119 | contained there can still be selected by other symbols, though). It is |
| 120 | similar to a conditional "prompt" attribude for individual menu | 120 | similar to a conditional "prompt" attribute for individual menu |
| 121 | entries. Default value of "visible" is true. | 121 | entries. Default value of "visible" is true. |
| 122 | 122 | ||
| 123 | - numerical ranges: "range" <symbol> <symbol> ["if" <expr>] | 123 | - numerical ranges: "range" <symbol> <symbol> ["if" <expr>] |
| @@ -950,7 +950,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. · 949 unmodified lines | |||
| 950 | controller | 950 | controller |
| 951 | i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX | 951 | i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX |
| 952 | controllers | 952 | controllers |
| 953 | i8042.notimeout [HW] Ignore timeout condition signalled by conroller | 953 | i8042.notimeout [HW] Ignore timeout condition signalled by controller |
| 954 | i8042.reset [HW] Reset the controller during init and cleanup | 954 | i8042.reset [HW] Reset the controller during init and cleanup |
| 955 | i8042.unlock [HW] Unlock (ignore) the keylock | 955 | i8042.unlock [HW] Unlock (ignore) the keylock |
| 956 | 956 | ||
| @@ -2440,7 +2440,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. · 1483 unmodified lines | |||
| 2440 | For more information see Documentation/vm/slub.txt. | 2440 | For more information see Documentation/vm/slub.txt. |
| 2441 | 2441 | ||
| 2442 | slub_min_order= [MM, SLUB] | 2442 | slub_min_order= [MM, SLUB] |
| 2443 | Determines the mininum page order for slabs. Must be | 2443 | Determines the minimum page order for slabs. Must be |
| 2444 | lower than slub_max_order. | 2444 | lower than slub_max_order. |
| 2445 | For more information see Documentation/vm/slub.txt. | 2445 | For more information see Documentation/vm/slub.txt. |
| 2446 | 2446 | ||
| @@ -2606,7 +2606,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. · 159 unmodified lines | |||
| 2606 | 2606 | ||
| 2607 | threadirqs [KNL] | 2607 | threadirqs [KNL] |
| 2608 | Force threading of all interrupt handlers except those | 2608 | Force threading of all interrupt handlers except those |
| 2609 | marked explicitely IRQF_NO_THREAD. | 2609 | marked explicitly IRQF_NO_THREAD. |
| 2610 | 2610 | ||
| 2611 | topology= [S390] | 2611 | topology= [S390] |
| 2612 | Format: {off | on} | 2612 | Format: {off | on} |
| @@ -44,7 +44,7 @@ the 'software updates' pages. The firmware binaries are part of · 43 unmodified lines | |||
| 44 | the various ForeThought software distributions. | 44 | the various ForeThought software distributions. |
| 45 | 45 | ||
| 46 | Notice that different versions of the PCA-200E firmware exist, depending | 46 | Notice that different versions of the PCA-200E firmware exist, depending |
| 47 | on the endianess of the host architecture. The driver is shipped with | 47 | on the endianness of the host architecture. The driver is shipped with |
| 48 | both little and big endian PCA firmware images. | 48 | both little and big endian PCA firmware images. |
| 49 | 49 | ||
| 50 | Name and location of the new firmware images can be set at kernel | 50 | Name and location of the new firmware images can be set at kernel |
| @@ -5,18 +5,23 @@ Numa policy hit/miss statistics · 4 unmodified lines | |||
| 5 | 5 | ||
| 6 | All units are pages. Hugepages have separate counters. | 6 | All units are pages. Hugepages have separate counters. |
| 7 | 7 | ||
| 8 | numa_hit A process wanted to allocate memory from this node, | 8 | numa_hit A process wanted to allocate memory from this node, |
| 9 | and succeeded. | 9 | and succeeded. |
| 10 | numa_miss A process wanted to allocate memory from another node, | 10 | |
| 11 | but ended up with memory from this node. | 11 | numa_miss A process wanted to allocate memory from another node, |
| 12 | numa_foreign A process wanted to allocate on this node, | 12 | but ended up with memory from this node. |
| 13 | but ended up with memory from another one. | 13 | |
| 14 | local_node A process ran on this node and got memory from it. | 14 | numa_foreign A process wanted to allocate on this node, |
| 15 | other_node A process ran on this node and got memory from another node. | 15 | but ended up with memory from another one. |
| 16 | interleave_hit Interleaving wanted to allocate from this node | 16 | |
| 17 | and succeeded. | 17 | local_node A process ran on this node and got memory from it. |
| 18 | |||
| 19 | other_node A process ran on this node and got memory from another node. | ||
| 20 | |||
| 21 | interleave_hit Interleaving wanted to allocate from this node | ||
| 22 | and succeeded. | ||
| 18 | 23 | ||
| 19 | For easier reading you can use the numastat utility from the numactl package | 24 | For easier reading you can use the numastat utility from the numactl package |
| 20 | (ftp://ftp.suse.com/pub/people/ak/numa/numactl*). Note that it only works | 25 | (http://oss.sgi.com/projects/libnuma/). Note that it only works |
| 21 | well right now on machines with a small number of CPUs. | 26 | well right now on machines with a small number of CPUs. |
| 22 | 27 | ||
| @@ -1718,7 +1718,7 @@ Changes from 20040319 to 20040326 · 1717 unmodified lines | |||
| 1718 | * lpfc_els_timeout_handler() now uses system timer. | 1718 | * lpfc_els_timeout_handler() now uses system timer. |
| 1719 | * Further cleanup of #ifdef powerpc | 1719 | * Further cleanup of #ifdef powerpc |
| 1720 | * lpfc_scsi_timeout_handler() now uses system timer. | 1720 | * lpfc_scsi_timeout_handler() now uses system timer. |
| 1721 | * Replace common driver's own defines for endianess w/ Linux's | 1721 | * Replace common driver's own defines for endianness w/ Linux's |
| 1722 | __BIG_ENDIAN etc. | 1722 | __BIG_ENDIAN etc. |
| 1723 | * Added #ifdef IPFC for all IPFC specific code. | 1723 | * Added #ifdef IPFC for all IPFC specific code. |
| 1724 | * lpfc_disc_retry_rptlun() now uses system timer. | 1724 | * lpfc_disc_retry_rptlun() now uses system timer. |
| @@ -510,7 +510,7 @@ i. Support for 1078 type (ppc IOP) controller, device id : 0x60 added. · 509 unmodified lines | |||
| 510 | 3 Older Version : 00.00.02.02 | 510 | 3 Older Version : 00.00.02.02 |
| 511 | i. Register 16 byte CDB capability with scsi midlayer | 511 | i. Register 16 byte CDB capability with scsi midlayer |
| 512 | 512 | ||
| 513 | "Ths patch properly registers the 16 byte command length capability of the | 513 | "This patch properly registers the 16 byte command length capability of the |
| 514 | megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas | 514 | megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas |
| 515 | hardware supports 16 byte CDB's." | 515 | hardware supports 16 byte CDB's." |
| 516 | 516 | ||
| @@ -62,7 +62,7 @@ There are two packages of sg utilities: · 61 unmodified lines | |||
| 62 | and earlier | 62 | and earlier |
| 63 | Both packages will work in the lk 2.4 series however sg3_utils offers more | 63 | Both packages will work in the lk 2.4 series however sg3_utils offers more |
| 64 | capabilities. They can be found at: http://sg.danny.cz/sg/sg3_utils.html and | 64 | capabilities. They can be found at: http://sg.danny.cz/sg/sg3_utils.html and |
| 65 | freshmeat.net | 65 | freecode.com |
| 66 | 66 | ||
| 67 | Another approach is to look at the applications that use the sg driver. | 67 | Another approach is to look at the applications that use the sg driver. |
| 68 | These include cdrecord, cdparanoia, SANE and cdrdao. | 68 | These include cdrecord, cdparanoia, SANE and cdrdao. |
| @@ -102,7 +102,7 @@ So take at least the following measures: · 101 unmodified lines | |||
| 102 | ftp://student.physik.uni-dortmund.de/pub/linux/kernel/bootdisk.gz | 102 | ftp://student.physik.uni-dortmund.de/pub/linux/kernel/bootdisk.gz |
| 103 | 103 | ||
| 104 | One more warning: I used to overclock my PCI bus to 41.67 MHz. My Tekram | 104 | One more warning: I used to overclock my PCI bus to 41.67 MHz. My Tekram |
| 105 | DC390F (Sym53c875) accepted this as well as my Millenium. But the Am53C974 | 105 | DC390F (Sym53c875) accepted this as well as my Millennium. But the Am53C974 |
| 106 | produced errors and started to corrupt my disks. So don't do that! A 37.50 | 106 | produced errors and started to corrupt my disks. So don't do that! A 37.50 |
| 107 | MHz PCI bus works for me, though, but I don't recommend using higher clocks | 107 | MHz PCI bus works for me, though, but I don't recommend using higher clocks |
| 108 | than the 33.33 MHz being in the PCI spec. | 108 | than the 33.33 MHz being in the PCI spec. |
| @@ -536,6 +536,6 @@ writing a single character to the /smack/logging file : · 535 unmodified lines | |||
| 536 | 3 : log denied & accepted | 536 | 3 : log denied & accepted |
| 537 | 537 | ||
| 538 | Events are logged as 'key=value' pairs, for each event you at least will get | 538 | Events are logged as 'key=value' pairs, for each event you at least will get |
| 539 | the subjet, the object, the rights requested, the action, the kernel function | 539 | the subject, the object, the rights requested, the action, the kernel function |
| 540 | that triggered the event, plus other pairs depending on the type of event | 540 | that triggered the event, plus other pairs depending on the type of event |
| 541 | audited. | 541 | audited. |
| @@ -1,7 +1,7 @@ | |||
| 1 | Trusted and Encrypted Keys | 1 | Trusted and Encrypted Keys |
| 2 | 2 | ||
| 3 | Trusted and Encrypted Keys are two new key types added to the existing kernel | 3 | Trusted and Encrypted Keys are two new key types added to the existing kernel |
| 4 | key ring service. Both of these new types are variable length symmetic keys, | 4 | key ring service. Both of these new types are variable length symmetric keys, |
| 5 | and in both cases all keys are created in the kernel, and user space sees, | 5 | and in both cases all keys are created in the kernel, and user space sees, |
| 6 | stores, and loads only encrypted blobs. Trusted Keys require the availability | 6 | stores, and loads only encrypted blobs. Trusted Keys require the availability |
| 7 | of a Trusted Platform Module (TPM) chip for greater security, while Encrypted | 7 | of a Trusted Platform Module (TPM) chip for greater security, while Encrypted |
| @@ -668,7 +668,7 @@ The keyctl syscall functions are: · 667 unmodified lines | |||
| 668 | 668 | ||
| 669 | If the kernel calls back to userspace to complete the instantiation of a | 669 | If the kernel calls back to userspace to complete the instantiation of a |
| 670 | key, userspace should use this call mark the key as negative before the | 670 | key, userspace should use this call mark the key as negative before the |
| 671 | invoked process returns if it is unable to fulfil the request. | 671 | invoked process returns if it is unable to fulfill the request. |
| 672 | 672 | ||
| 673 | The process must have write access on the key to be able to instantiate | 673 | The process must have write access on the key to be able to instantiate |
| 674 | it, and the key must be uninstantiated. | 674 | it, and the key must be uninstantiated. |
| @@ -1588,7 +1588,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. · 1587 unmodified lines | |||
| 1588 | 1588 | ||
| 1589 | Module supports autoprobe a chip. | 1589 | Module supports autoprobe a chip. |
| 1590 | 1590 | ||
| 1591 | Note: the driver may have problems regarding endianess. | 1591 | Note: the driver may have problems regarding endianness. |
| 1592 | 1592 | ||
| 1593 | The power-management is supported. | 1593 | The power-management is supported. |
| 1594 | 1594 | ||
| @@ -775,7 +775,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name): · 774 unmodified lines | |||
| 775 | buf += " struct " + fabric_mod_name + "_nacl *nacl;\n\n" | 775 | buf += " struct " + fabric_mod_name + "_nacl *nacl;\n\n" |
| 776 | buf += " nacl = kzalloc(sizeof(struct " + fabric_mod_name + "_nacl), GFP_KERNEL);\n" | 776 | buf += " nacl = kzalloc(sizeof(struct " + fabric_mod_name + "_nacl), GFP_KERNEL);\n" |
| 777 | buf += " if (!nacl) {\n" | 777 | buf += " if (!nacl) {\n" |
| 778 | buf += " printk(KERN_ERR \"Unable to alocate struct " + fabric_mod_name + "_nacl\\n\");\n" | 778 | buf += " printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_nacl\\n\");\n" |
| 779 | buf += " return NULL;\n" | 779 | buf += " return NULL;\n" |
| 780 | buf += " }\n\n" | 780 | buf += " }\n\n" |
| 781 | buf += " return &nacl->se_node_acl;\n" | 781 | buf += " return &nacl->se_node_acl;\n" |
| @@ -57,7 +57,7 @@ power_end "cpu_id=%lu" · 56 unmodified lines | |||
| 57 | The 'type' parameter takes one of those macros: | 57 | The 'type' parameter takes one of those macros: |
| 58 | . POWER_NONE = 0, | 58 | . POWER_NONE = 0, |
| 59 | . POWER_CSTATE = 1, /* C-State */ | 59 | . POWER_CSTATE = 1, /* C-State */ |
| 60 | . POWER_PSTATE = 2, /* Fequency change or DVFS */ | 60 | . POWER_PSTATE = 2, /* Frequency change or DVFS */ |
| 61 | 61 | ||
| 62 | The 'state' parameter is set depending on the type: | 62 | The 'state' parameter is set depending on the type: |
| 63 | . Target C-state for type=POWER_CSTATE, | 63 | . Target C-state for type=POWER_CSTATE, |
| @@ -1,7 +1,7 @@ | |||
| 1 | CHANGES | 1 | CHANGES |
| 2 | 2 | ||
| 3 | - 0.3 - Created based off of scanner & INSTALL from the original touchscreen | 3 | - 0.3 - Created based off of scanner & INSTALL from the original touchscreen |
| 4 | driver on freshmeat (http://freshmeat.net/projects/3mtouchscreendriver) | 4 | driver on freecode (http://freecode.com/projects/3mtouchscreendriver) |
| 5 | - Amended for linux-2.4.18, then 2.4.19 | 5 | - Amended for linux-2.4.18, then 2.4.19 |
| 6 | 6 | ||
| 7 | - 0.5 - Complete rewrite using Linux Input in 2.6.3 | 7 | - 0.5 - Complete rewrite using Linux Input in 2.6.3 |
| @@ -345,7 +345,7 @@ autosuspend the device. · 344 unmodified lines | |||
| 345 | Drivers need not be concerned about balancing changes to the usage | 345 | Drivers need not be concerned about balancing changes to the usage |
| 346 | counter; the USB core will undo any remaining "get"s when a driver | 346 | counter; the USB core will undo any remaining "get"s when a driver |
| 347 | is unbound from its interface. As a corollary, drivers must not call | 347 | is unbound from its interface. As a corollary, drivers must not call |
| 348 | any of the usb_autopm_* functions after their diconnect() routine has | 348 | any of the usb_autopm_* functions after their disconnect() routine has |
| 349 | returned. | 349 | returned. |
| 350 | 350 | ||
| 351 | Drivers using the async routines are responsible for their own | 351 | Drivers using the async routines are responsible for their own |
| @@ -7,7 +7,7 @@ The usbfs filesystem for USB devices is traditionally mounted at · 6 unmodified lines | |||
| 7 | /proc/bus/usb. It provides the /proc/bus/usb/devices file, as well as | 7 | /proc/bus/usb. It provides the /proc/bus/usb/devices file, as well as |
| 8 | the /proc/bus/usb/BBB/DDD files. | 8 | the /proc/bus/usb/BBB/DDD files. |
| 9 | 9 | ||
| 10 | In many modern systems the usbfs filsystem isn't used at all. Instead | 10 | In many modern systems the usbfs filesystem isn't used at all. Instead |
| 11 | USB device nodes are created under /dev/usb/ or someplace similar. The | 11 | USB device nodes are created under /dev/usb/ or someplace similar. The |
| 12 | "devices" file is available in debugfs, typically as | 12 | "devices" file is available in debugfs, typically as |
| 13 | /sys/kernel/debug/usb/devices. | 13 | /sys/kernel/debug/usb/devices. |
| @@ -116,7 +116,7 @@ Description: · 115 unmodified lines | |||
| 116 | A UVC control can be mapped to several V4L2 controls. For instance, | 116 | A UVC control can be mapped to several V4L2 controls. For instance, |
| 117 | a UVC pan/tilt control could be mapped to separate pan and tilt V4L2 | 117 | a UVC pan/tilt control could be mapped to separate pan and tilt V4L2 |
| 118 | controls. The UVC control is divided into non overlapping fields using | 118 | controls. The UVC control is divided into non overlapping fields using |
| 119 | the 'size' and 'offset' fields and are then independantly mapped to | 119 | the 'size' and 'offset' fields and are then independently mapped to |
| 120 | V4L2 control. | 120 | V4L2 control. |
| 121 | 121 | ||
| 122 | For signed integer V4L2 controls the data_type field should be set to | 122 | For signed integer V4L2 controls the data_type field should be set to |
| @@ -347,7 +347,7 @@ To instantiate a large spte, four constraints must be satisfied: · 346 unmodified lines | |||
| 347 | 347 | ||
| 348 | - the spte must point to a large host page | 348 | - the spte must point to a large host page |
| 349 | - the guest pte must be a large pte of at least equivalent size (if tdp is | 349 | - the guest pte must be a large pte of at least equivalent size (if tdp is |
| 350 | enabled, there is no guest pte and this condition is satisified) | 350 | enabled, there is no guest pte and this condition is satisfied) |
| 351 | - if the spte will be writeable, the large page frame may not overlap any | 351 | - if the spte will be writeable, the large page frame may not overlap any |
| 352 | write-protected pages | 352 | write-protected pages |
| 353 | - the guest page must be wholly contained by a single memory slot | 353 | - the guest page must be wholly contained by a single memory slot |
| @@ -356,7 +356,7 @@ To check the last two conditions, the mmu maintains a ->write_count set of · 2 unmodified lines | |||
| 356 | arrays for each memory slot and large page size. Every write protected page | 356 | arrays for each memory slot and large page size. Every write protected page |
| 357 | causes its write_count to be incremented, thus preventing instantiation of | 357 | causes its write_count to be incremented, thus preventing instantiation of |
| 358 | a large spte. The frames at the end of an unaligned memory slot have | 358 | a large spte. The frames at the end of an unaligned memory slot have |
| 359 | artificically inflated ->write_counts so they can never be instantiated. | 359 | artificially inflated ->write_counts so they can never be instantiated. |
| 360 | 360 | ||
| 361 | Further reading | 361 | Further reading |
| 362 | =============== | 362 | =============== |
| @@ -1403,7 +1403,7 @@ segmentation, if both guests are amenable. · 1402 unmodified lines | |||
| 1403 | 1403 | ||
| 1404 | Packets are transmitted by placing them in the transmitq, and | 1404 | Packets are transmitted by placing them in the transmitq, and |
| 1405 | buffers for incoming packets are placed in the receiveq. In each | 1405 | buffers for incoming packets are placed in the receiveq. In each |
| 1406 | case, the packet itself is preceeded by a header: | 1406 | case, the packet itself is preceded by a header: |
| 1407 | 1407 | ||
| 1408 | struct virtio_net_hdr { | 1408 | struct virtio_net_hdr { |
| 1409 | 1409 | ||
| @@ -1642,7 +1642,7 @@ struct virtio_net_ctrl_mac { · 232 unmodified lines | |||
| 1642 | 1642 | ||
| 1643 | The device can filter incoming packets by any number of | 1643 | The device can filter incoming packets by any number of |
| 1644 | destination MAC addresses.[footnote: | 1644 | destination MAC addresses.[footnote: |
| 1645 | Since there are no guarentees, it can use a hash filter | 1645 | Since there are no guarantees, it can use a hash filter |
| 1646 | orsilently switch to allmulti or promiscuous mode if it is given | 1646 | orsilently switch to allmulti or promiscuous mode if it is given |
| 1647 | too many addresses. | 1647 | too many addresses. |
| 1648 | ] This table is set using the class VIRTIO_NET_CTRL_MAC and the | 1648 | ] This table is set using the class VIRTIO_NET_CTRL_MAC and the |
| @@ -1805,7 +1805,7 @@ the FLUSH and FLUSH_OUT types are equivalent, the device does not · 156 unmodified lines | |||
| 1805 | distinguish between them | 1805 | distinguish between them |
| 1806 | ]). If the device has VIRTIO_BLK_F_BARRIER feature the high bit | 1806 | ]). If the device has VIRTIO_BLK_F_BARRIER feature the high bit |
| 1807 | (VIRTIO_BLK_T_BARRIER) indicates that this request acts as a | 1807 | (VIRTIO_BLK_T_BARRIER) indicates that this request acts as a |
| 1808 | barrier and that all preceeding requests must be complete before | 1808 | barrier and that all preceding requests must be complete before |
| 1809 | this one, and all following requests must not be started until | 1809 | this one, and all following requests must not be started until |
| 1810 | this is complete. Note that a barrier does not flush caches in | 1810 | this is complete. Note that a barrier does not flush caches in |
| 1811 | the underlying backend device in host, and thus does not serve as | 1811 | the underlying backend device in host, and thus does not serve as |
| @@ -2118,7 +2118,7 @@ This is historical, and independent of the guest page size · 306 unmodified lines | |||
| 2118 | 2118 | ||
| 2119 | Otherwise, the guest may begin to re-use pages previously given | 2119 | Otherwise, the guest may begin to re-use pages previously given |
| 2120 | to the balloon before the device has acknowledged their | 2120 | to the balloon before the device has acknowledged their |
| 2121 | withdrawl. [footnote: | 2121 | withdrawal. [footnote: |
| 2122 | In this case, deflation advice is merely a courtesy | 2122 | In this case, deflation advice is merely a courtesy |
| 2123 | ] | 2123 | ] |
| 2124 | 2124 | ||
| @@ -92,7 +92,7 @@ failed_gets - number of gets that failed · 91 unmodified lines | |||
| 92 | puts - number of puts attempted (all "succeed") | 92 | puts - number of puts attempted (all "succeed") |
| 93 | flushes - number of flushes attempted | 93 | flushes - number of flushes attempted |
| 94 | 94 | ||
| 95 | A backend implementatation may provide additional metrics. | 95 | A backend implementation may provide additional metrics. |
| 96 | 96 | ||
| 97 | FAQ | 97 | FAQ |
| 98 | 98 | ||
| @@ -538,7 +538,7 @@ different reverse map mechanisms. · 537 unmodified lines | |||
| 538 | process because mlocked pages are migratable. However, for reclaim, if | 538 | process because mlocked pages are migratable. However, for reclaim, if |
| 539 | the page is mapped into a VM_LOCKED VMA, the scan stops. | 539 | the page is mapped into a VM_LOCKED VMA, the scan stops. |
| 540 | 540 | ||
| 541 | try_to_unmap_anon() attempts to acquire in read mode the mmap semphore of | 541 | try_to_unmap_anon() attempts to acquire in read mode the mmap semaphore of |
| 542 | the mm_struct to which the VMA belongs. If this is successful, it will | 542 | the mm_struct to which the VMA belongs. If this is successful, it will |
| 543 | mlock the page via mlock_vma_page() - we wouldn't have gotten to | 543 | mlock the page via mlock_vma_page() - we wouldn't have gotten to |
| 544 | try_to_unmap_anon() if the page were already mlocked - and will return | 544 | try_to_unmap_anon() if the page were already mlocked - and will return |
| @@ -619,11 +619,11 @@ all PTEs from the page. For this purpose, the unevictable/mlock infrastructure · 74 unmodified lines | |||
| 619 | introduced a variant of try_to_unmap() called try_to_munlock(). | 619 | introduced a variant of try_to_unmap() called try_to_munlock(). |
| 620 | 620 | ||
| 621 | try_to_munlock() calls the same functions as try_to_unmap() for anonymous and | 621 | try_to_munlock() calls the same functions as try_to_unmap() for anonymous and |
| 622 | mapped file pages with an additional argument specifing unlock versus unmap | 622 | mapped file pages with an additional argument specifying unlock versus unmap |
| 623 | processing. Again, these functions walk the respective reverse maps looking | 623 | processing. Again, these functions walk the respective reverse maps looking |
| 624 | for VM_LOCKED VMAs. When such a VMA is found for anonymous pages and file | 624 | for VM_LOCKED VMAs. When such a VMA is found for anonymous pages and file |
| 625 | pages mapped in linear VMAs, as in the try_to_unmap() case, the functions | 625 | pages mapped in linear VMAs, as in the try_to_unmap() case, the functions |
| 626 | attempt to acquire the associated mmap semphore, mlock the page via | 626 | attempt to acquire the associated mmap semaphore, mlock the page via |
| 627 | mlock_vma_page() and return SWAP_MLOCK. This effectively undoes the | 627 | mlock_vma_page() and return SWAP_MLOCK. This effectively undoes the |
| 628 | pre-clearing of the page's PG_mlocked done by munlock_vma_page. | 628 | pre-clearing of the page's PG_mlocked done by munlock_vma_page. |
| 629 | 629 | ||
| @@ -641,7 +641,7 @@ with it - the usual fallback position. · 11 unmodified lines | |||
| 641 | Note that try_to_munlock()'s reverse map walk must visit every VMA in a page's | 641 | Note that try_to_munlock()'s reverse map walk must visit every VMA in a page's |
| 642 | reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA. | 642 | reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA. |
| 643 | However, the scan can terminate when it encounters a VM_LOCKED VMA and can | 643 | However, the scan can terminate when it encounters a VM_LOCKED VMA and can |
| 644 | successfully acquire the VMA's mmap semphore for read and mlock the page. | 644 | successfully acquire the VMA's mmap semaphore for read and mlock the page. |
| 645 | Although try_to_munlock() might be called a great many times when munlocking a | 645 | Although try_to_munlock() might be called a great many times when munlocking a |
| 646 | large region or tearing down a large address space that has been mlocked via | 646 | large region or tearing down a large address space that has been mlocked via |
| 647 | mlockall(), overall this is a fairly rare event. | 647 | mlockall(), overall this is a fairly rare event. |
| @@ -167,4 +167,4 @@ driver specific data to and a pointer to the data itself. · 166 unmodified lines | |||
| 167 | 167 | ||
| 168 | The watchdog_get_drvdata function allows you to retrieve driver specific data. | 168 | The watchdog_get_drvdata function allows you to retrieve driver specific data. |
| 169 | The argument of this function is the watchdog device where you want to retrieve | 169 | The argument of this function is the watchdog device where you want to retrieve |
| 170 | data from. The function retruns the pointer to the driver specific data. | 170 | data from. The function returns the pointer to the driver specific data. |
| @@ -90,7 +90,7 @@ struct alpha_machine_vector · 89 unmodified lines | |||
| 90 | void (*kill_arch)(int); | 90 | void (*kill_arch)(int); |
| 91 | 91 | ||
| 92 | u8 (*pci_swizzle)(struct pci_dev *, u8 *); | 92 | u8 (*pci_swizzle)(struct pci_dev *, u8 *); |
| 93 | int (*pci_map_irq)(struct pci_dev *, u8, u8); | 93 | int (*pci_map_irq)(const struct pci_dev *, u8, u8); |
| 94 | struct pci_ops *pci_ops; | 94 | struct pci_ops *pci_ops; |
| 95 | 95 | ||
| 96 | struct _alpha_agp_info *(*agp_info)(void); | 96 | struct _alpha_agp_info *(*agp_info)(void); |
| @@ -366,7 +366,7 @@ clipper_init_irq(void) · 365 unmodified lines | |||
| 366 | */ | 366 | */ |
| 367 | 367 | ||
| 368 | static int __init | 368 | static int __init |
| 369 | isa_irq_fixup(struct pci_dev *dev, int irq) | 369 | isa_irq_fixup(const struct pci_dev *dev, int irq) |
| 370 | { | 370 | { |
| 371 | u8 irq8; | 371 | u8 irq8; |
| 372 | 372 | ||
| @@ -35,7 +35,6 @@ · 34 unmodified lines | |||
| 35 | 35 | ||
| 36 | #include <linux/pfn.h> | 36 | #include <linux/pfn.h> |
| 37 | #include <linux/atomic.h> | 37 | #include <linux/atomic.h> |
| 38 | #include <linux/sched.h> | ||
| 39 | #include <mach/dma.h> | 38 | #include <mach/dma.h> |
| 40 | 39 | ||
| 41 | /* ---- Public Variables ------------------------------------------------- */ | 40 | /* ---- Public Variables ------------------------------------------------- */ |
| @@ -11,7 +11,6 @@ · 10 unmodified lines | |||
| 11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
| 13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
| 14 | #include <linux/gpio.h> | ||
| 15 | 14 | ||
| 16 | #include <asm/leds.h> | 15 | #include <asm/leds.h> |
| 17 | #include <mach/devices.h> | 16 | #include <mach/devices.h> |
| @@ -117,7 +117,7 @@ EXPORT_SYMBOL(omap_set_lcd_dma_b1_mirror); · 116 unmodified lines | |||
| 117 | void omap_set_lcd_dma_b1_vxres(unsigned long vxres) | 117 | void omap_set_lcd_dma_b1_vxres(unsigned long vxres) |
| 118 | { | 118 | { |
| 119 | if (cpu_is_omap15xx()) { | 119 | if (cpu_is_omap15xx()) { |
| 120 | printk(KERN_ERR "DMA virtual resulotion is not supported " | 120 | printk(KERN_ERR "DMA virtual resolution is not supported " |
| 121 | "in 1510 mode\n"); | 121 | "in 1510 mode\n"); |
| 122 | BUG(); | 122 | BUG(); |
| 123 | } | 123 | } |
| @@ -214,7 +214,7 @@ void __init db88f5281_pci_preinit(void) · 213 unmodified lines | |||
| 214 | if (gpio_direction_input(pin) == 0) { | 214 | if (gpio_direction_input(pin) == 0) { |
| 215 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); | 215 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 216 | } else { | 216 | } else { |
| 217 | printk(KERN_ERR "db88f5281_pci_preinit faield to " | 217 | printk(KERN_ERR "db88f5281_pci_preinit failed to " |
| 218 | "set_irq_type pin %d\n", pin); | 218 | "set_irq_type pin %d\n", pin); |
| 219 | gpio_free(pin); | 219 | gpio_free(pin); |
| 220 | } | 220 | } |
| @@ -227,7 +227,7 @@ void __init db88f5281_pci_preinit(void) · 6 unmodified lines | |||
| 227 | if (gpio_direction_input(pin) == 0) { | 227 | if (gpio_direction_input(pin) == 0) { |
| 228 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); | 228 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 229 | } else { | 229 | } else { |
| 230 | printk(KERN_ERR "db88f5281_pci_preinit faield " | 230 | printk(KERN_ERR "db88f5281_pci_preinit failed " |
| 231 | "to set_irq_type pin %d\n", pin); | 231 | "to set_irq_type pin %d\n", pin); |
| 232 | gpio_free(pin); | 232 | gpio_free(pin); |
| 233 | } | 233 | } |
| @@ -149,7 +149,7 @@ void __init rd88f5182_pci_preinit(void) · 148 unmodified lines | |||
| 149 | if (gpio_direction_input(pin) == 0) { | 149 | if (gpio_direction_input(pin) == 0) { |
| 150 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); | 150 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 151 | } else { | 151 | } else { |
| 152 | printk(KERN_ERR "rd88f5182_pci_preinit faield to " | 152 | printk(KERN_ERR "rd88f5182_pci_preinit failed to " |
| 153 | "set_irq_type pin %d\n", pin); | 153 | "set_irq_type pin %d\n", pin); |
| 154 | gpio_free(pin); | 154 | gpio_free(pin); |
| 155 | } | 155 | } |
| @@ -162,7 +162,7 @@ void __init rd88f5182_pci_preinit(void) · 6 unmodified lines | |||
| 162 | if (gpio_direction_input(pin) == 0) { | 162 | if (gpio_direction_input(pin) == 0) { |
| 163 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); | 163 | irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); |
| 164 | } else { | 164 | } else { |
| 165 | printk(KERN_ERR "rd88f5182_pci_preinit faield to " | 165 | printk(KERN_ERR "rd88f5182_pci_preinit failed to " |
| 166 | "set_irq_type pin %d\n", pin); | 166 | "set_irq_type pin %d\n", pin); |
| 167 | gpio_free(pin); | 167 | gpio_free(pin); |
| 168 | } | 168 | } |
| @@ -469,7 +469,7 @@ void __init spear300_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs, · 468 unmodified lines | |||
| 469 | if (pmx_driver.base) { | 469 | if (pmx_driver.base) { |
| 470 | ret = pmx_register(&pmx_driver); | 470 | ret = pmx_register(&pmx_driver); |
| 471 | if (ret) | 471 | if (ret) |
| 472 | printk(KERN_ERR "padmux: registeration failed. err no" | 472 | printk(KERN_ERR "padmux: registration failed. err no" |
| 473 | ": %d\n", ret); | 473 | ": %d\n", ret); |
| 474 | /* Free Mapping, device selection already done */ | 474 | /* Free Mapping, device selection already done */ |
| 475 | iounmap(pmx_driver.base); | 475 | iounmap(pmx_driver.base); |
| @@ -303,6 +303,6 @@ void __init spear310_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs, · 302 unmodified lines | |||
| 303 | 303 | ||
| 304 | ret = pmx_register(&pmx_driver); | 304 | ret = pmx_register(&pmx_driver); |
| 305 | if (ret) | 305 | if (ret) |
| 306 | printk(KERN_ERR "padmux: registeration failed. err no: %d\n", | 306 | printk(KERN_ERR "padmux: registration failed. err no: %d\n", |
| 307 | ret); | 307 | ret); |
| 308 | } | 308 | } |
| @@ -550,6 +550,6 @@ void __init spear320_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs, · 549 unmodified lines | |||
| 550 | 550 | ||
| 551 | ret = pmx_register(&pmx_driver); | 551 | ret = pmx_register(&pmx_driver); |
| 552 | if (ret) | 552 | if (ret) |
| 553 | printk(KERN_ERR "padmux: registeration failed. err no: %d\n", | 553 | printk(KERN_ERR "padmux: registration failed. err no: %d\n", |
| 554 | ret); | 554 | ret); |
| 555 | } | 555 | } |
| @@ -32,7 +32,6 @@ · 31 unmodified lines | |||
| 32 | 32 | ||
| 33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
| 34 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
| 35 | #include <asm/memblock.h> | ||
| 36 | 35 | ||
| 37 | #include "mm.h" | 36 | #include "mm.h" |
| 38 | 37 | ||
| @@ -52,7 +52,7 @@ static __init int pm_simtec_init(void) · 51 unmodified lines | |||
| 52 | !machine_is_aml_m5900()) | 52 | !machine_is_aml_m5900()) |
| 53 | return 0; | 53 | return 0; |
| 54 | 54 | ||
| 55 | printk(KERN_INFO "Simtec Board Power Manangement" COPYRIGHT "\n"); | 55 | printk(KERN_INFO "Simtec Board Power Management" COPYRIGHT "\n"); |
| 56 | 56 | ||
| 57 | gstatus4 = (__raw_readl(S3C2410_BANKCON7) & 0x3) << 30; | 57 | gstatus4 = (__raw_readl(S3C2410_BANKCON7) & 0x3) << 30; |
| 58 | gstatus4 |= (__raw_readl(S3C2410_BANKCON6) & 0x3) << 28; | 58 | gstatus4 |= (__raw_readl(S3C2410_BANKCON6) & 0x3) << 28; |
| @@ -58,7 +58,7 @@ xen_free_irq_vector(int vector) · 57 unmodified lines | |||
| 58 | 58 | ||
| 59 | irq_op.vector = vector; | 59 | irq_op.vector = vector; |
| 60 | if (HYPERVISOR_physdev_op(PHYSDEVOP_free_irq_vector, &irq_op)) | 60 | if (HYPERVISOR_physdev_op(PHYSDEVOP_free_irq_vector, &irq_op)) |
| 61 | printk(KERN_WARNING "%s: xen_free_irq_vecotr fail vector=%d\n", | 61 | printk(KERN_WARNING "%s: xen_free_irq_vector fail vector=%d\n", |
| 62 | __func__, vector); | 62 | __func__, vector); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| @@ -33,7 +33,7 @@ static void bcm6348_a1_reboot(void) · 32 unmodified lines | |||
| 33 | u32 reg; | 33 | u32 reg; |
| 34 | 34 | ||
| 35 | /* soft reset all blocks */ | 35 | /* soft reset all blocks */ |
| 36 | printk(KERN_INFO "soft-reseting all blocks ...\n"); | 36 | printk(KERN_INFO "soft-resetting all blocks ...\n"); |
| 37 | reg = bcm_perf_readl(PERF_SOFTRESET_REG); | 37 | reg = bcm_perf_readl(PERF_SOFTRESET_REG); |
| 38 | reg &= ~SOFTRESET_6348_ALL; | 38 | reg &= ~SOFTRESET_6348_ALL; |
| 39 | bcm_perf_writel(reg, PERF_SOFTRESET_REG); | 39 | bcm_perf_writel(reg, PERF_SOFTRESET_REG); |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | |||
| 21 | #define KEYLARGO_FCR4 0x48 | 21 | #define KEYLARGO_FCR4 0x48 |
| 22 | #define KEYLARGO_FCR5 0x4c /* Pangea only */ | 22 | #define KEYLARGO_FCR5 0x4c /* Pangea only */ |
| 23 | 23 | ||
| 24 | /* K2 aditional FCRs */ | 24 | /* K2 additional FCRs */ |
| 25 | #define K2_FCR6 0x34 | 25 | #define K2_FCR6 0x34 |
| 26 | #define K2_FCR7 0x30 | 26 | #define K2_FCR7 0x30 |
| 27 | #define K2_FCR8 0x2c | 27 | #define K2_FCR8 0x2c |
| @@ -22,7 +22,7 @@ config RUNTIME_DEBUG · 21 unmodified lines | |||
| 22 | help | 22 | help |
| 23 | If you say Y here, some debugging macros will do run-time checking. | 23 | If you say Y here, some debugging macros will do run-time checking. |
| 24 | If you say N here, those macros will mostly turn to no-ops. See | 24 | If you say N here, those macros will mostly turn to no-ops. See |
| 25 | include/asm-score/debug.h for debuging macros. | 25 | include/asm-score/debug.h for debugging macros. |
| 26 | If unsure, say N. | 26 | If unsure, say N. |
| 27 | 27 | ||
| 28 | endmenu | 28 | endmenu |
| @@ -17,8 +17,6 @@ · 16 unmodified lines | |||
| 17 | /* Verify that the configuration block really is there */ | 17 | /* Verify that the configuration block really is there */ |
| 18 | #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base)) | 18 | #define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base)) |
| 19 | 19 | ||
| 20 | #define NAME "scx200" | ||
| 21 | |||
| 22 | MODULE_AUTHOR("Christer Weinigel <wingel@nano-system.com>"); | 20 | MODULE_AUTHOR("Christer Weinigel <wingel@nano-system.com>"); |
| 23 | MODULE_DESCRIPTION("NatSemi SCx200 Driver"); | 21 | MODULE_DESCRIPTION("NatSemi SCx200 Driver"); |
| 24 | MODULE_LICENSE("GPL"); | 22 | MODULE_LICENSE("GPL"); |
| @@ -29,10 +27,10 @@ unsigned long scx200_gpio_shadow[2]; · 4 unmodified lines | |||
| 29 | unsigned scx200_cb_base = 0; | 27 | unsigned scx200_cb_base = 0; |
| 30 | 28 | ||
| 31 | static struct pci_device_id scx200_tbl[] = { | 29 | static struct pci_device_id scx200_tbl[] = { |
| 32 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, | 30 | { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, |
| 33 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, | 31 | { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, |
| 34 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_XBUS) }, | 32 | { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_XBUS) }, |
| 35 | { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_XBUS) }, | 33 | { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_XBUS) }, |
| 36 | { }, | 34 | { }, |
| 37 | }; | 35 | }; |
| 38 | MODULE_DEVICE_TABLE(pci,scx200_tbl); | 36 | MODULE_DEVICE_TABLE(pci,scx200_tbl); |
| @@ -63,10 +61,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_ · 24 unmodified lines | |||
| 63 | if (pdev->device == PCI_DEVICE_ID_NS_SCx200_BRIDGE || | 61 | if (pdev->device == PCI_DEVICE_ID_NS_SCx200_BRIDGE || |
| 64 | pdev->device == PCI_DEVICE_ID_NS_SC1100_BRIDGE) { | 62 | pdev->device == PCI_DEVICE_ID_NS_SC1100_BRIDGE) { |
| 65 | base = pci_resource_start(pdev, 0); | 63 | base = pci_resource_start(pdev, 0); |
| 66 | printk(KERN_INFO NAME ": GPIO base 0x%x\n", base); | 64 | pr_info("GPIO base 0x%x\n", base); |
| 67 | 65 | ||
| 68 | if (!request_region(base, SCx200_GPIO_SIZE, "NatSemi SCx200 GPIO")) { | 66 | if (!request_region(base, SCx200_GPIO_SIZE, |
| 69 | printk(KERN_ERR NAME ": can't allocate I/O for GPIOs\n"); | 67 | "NatSemi SCx200 GPIO")) { |
| 68 | pr_err("can't allocate I/O for GPIOs\n"); | ||
| 70 | return -EBUSY; | 69 | return -EBUSY; |
| 71 | } | 70 | } |
| 72 | 71 | ||
| @@ -82,11 +81,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_ · 9 unmodified lines | |||
| 82 | if (scx200_cb_probe(base)) { | 81 | if (scx200_cb_probe(base)) { |
| 83 | scx200_cb_base = base; | 82 | scx200_cb_base = base; |
| 84 | } else { | 83 | } else { |
| 85 | printk(KERN_WARNING NAME ": Configuration Block not found\n"); | 84 | pr_warn("Configuration Block not found\n"); |
| 86 | return -ENODEV; | 85 | return -ENODEV; |
| 87 | } | 86 | } |
| 88 | } | 87 | } |
| 89 | printk(KERN_INFO NAME ": Configuration Block base 0x%x\n", scx200_cb_base); | 88 | pr_info("Configuration Block base 0x%x\n", scx200_cb_base); |
| 90 | } | 89 | } |
| 91 | 90 | ||
| 92 | return 0; | 91 | return 0; |
| @@ -111,8 +110,7 @@ u32 scx200_gpio_configure(unsigned index, u32 mask, u32 bits) · 18 unmodified lines | |||
| 111 | 110 | ||
| 112 | static int __init scx200_init(void) | 111 | static int __init scx200_init(void) |
| 113 | { | 112 | { |
| 114 | printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n"); | 113 | pr_info("NatSemi SCx200 Driver\n"); |
| 115 | |||
| 116 | return pci_register_driver(&scx200_pci_driver); | 114 | return pci_register_driver(&scx200_pci_driver); |
| 117 | } | 115 | } |
| 118 | 116 | ||
| @@ -39,7 +39,6 @@ · 38 unmodified lines | |||
| 39 | #include <linux/sched.h> | 39 | #include <linux/sched.h> |
| 40 | #include <linux/slab.h> | 40 | #include <linux/slab.h> |
| 41 | #include <linux/types.h> | 41 | #include <linux/types.h> |
| 42 | #include <linux/version.h> | ||
| 43 | 42 | ||
| 44 | #include <asm-generic/io-64-nonatomic-lo-hi.h> | 43 | #include <asm-generic/io-64-nonatomic-lo-hi.h> |
| 45 | 44 | ||
| @@ -94,7 +94,7 @@ · 93 unmodified lines | |||
| 94 | /* Note that *all* calls to CMOS_READ and CMOS_WRITE must be done with | 94 | /* Note that *all* calls to CMOS_READ and CMOS_WRITE must be done with |
| 95 | * rtc_lock held. Due to the index-port/data-port design of the RTC, we | 95 | * rtc_lock held. Due to the index-port/data-port design of the RTC, we |
| 96 | * don't want two different things trying to get to it at once. (e.g. the | 96 | * don't want two different things trying to get to it at once. (e.g. the |
| 97 | * periodic 11 min sync from time.c vs. this driver.) | 97 | * periodic 11 min sync from kernel/time/ntp.c vs. this driver.) |
| 98 | */ | 98 | */ |
| 99 | 99 | ||
| 100 | #include <linux/types.h> | 100 | #include <linux/types.h> |
| @@ -57,8 +57,8 @@ · 56 unmodified lines | |||
| 57 | * Note that *all* calls to CMOS_READ and CMOS_WRITE are done with | 57 | * Note that *all* calls to CMOS_READ and CMOS_WRITE are done with |
| 58 | * interrupts disabled. Due to the index-port/data-port (0x70/0x71) | 58 | * interrupts disabled. Due to the index-port/data-port (0x70/0x71) |
| 59 | * design of the RTC, we don't want two different things trying to | 59 | * design of the RTC, we don't want two different things trying to |
| 60 | * get to it at once. (e.g. the periodic 11 min sync from time.c vs. | 60 | * get to it at once. (e.g. the periodic 11 min sync from |
| 61 | * this driver.) | 61 | * kernel/time/ntp.c vs. this driver.) |
| 62 | */ | 62 | */ |
| 63 | 63 | ||
| 64 | #include <linux/interrupt.h> | 64 | #include <linux/interrupt.h> |
| @@ -76,7 +76,7 @@ enum tis_defaults { · 75 unmodified lines | |||
| 76 | #define TPM_RID(l) (0x0F04 | ((l) << 12)) | 76 | #define TPM_RID(l) (0x0F04 | ((l) << 12)) |
| 77 | 77 | ||
| 78 | static LIST_HEAD(tis_chips); | 78 | static LIST_HEAD(tis_chips); |
| 79 | static DEFINE_SPINLOCK(tis_lock); | 79 | static DEFINE_MUTEX(tis_lock); |
| 80 | 80 | ||
| 81 | #if defined(CONFIG_PNP) && defined(CONFIG_ACPI) | 81 | #if defined(CONFIG_PNP) && defined(CONFIG_ACPI) |
| 82 | static int is_itpm(struct pnp_dev *dev) | 82 | static int is_itpm(struct pnp_dev *dev) |
| @@ -689,9 +689,9 @@ static int tpm_tis_init(struct device *dev, resource_size_t start, · 606 unmodified lines | |||
| 689 | } | 689 | } |
| 690 | 690 | ||
| 691 | INIT_LIST_HEAD(&chip->vendor.list); | 691 | INIT_LIST_HEAD(&chip->vendor.list); |
| 692 | spin_lock(&tis_lock); | 692 | mutex_lock(&tis_lock); |
| 693 | list_add(&chip->vendor.list, &tis_chips); | 693 | list_add(&chip->vendor.list, &tis_chips); |
| 694 | spin_unlock(&tis_lock); | 694 | mutex_unlock(&tis_lock); |
| 695 | 695 | ||
| 696 | 696 | ||
| 697 | return 0; | 697 | return 0; |
| @@ -855,7 +855,7 @@ static void __exit cleanup_tis(void) · 157 unmodified lines | |||
| 855 | { | 855 | { |
| 856 | struct tpm_vendor_specific *i, *j; | 856 | struct tpm_vendor_specific *i, *j; |
| 857 | struct tpm_chip *chip; | 857 | struct tpm_chip *chip; |
| 858 | spin_lock(&tis_lock); | 858 | mutex_lock(&tis_lock); |
| 859 | list_for_each_entry_safe(i, j, &tis_chips, list) { | 859 | list_for_each_entry_safe(i, j, &tis_chips, list) { |
| 860 | chip = to_tpm_chip(i); | 860 | chip = to_tpm_chip(i); |
| 861 | tpm_remove_hardware(chip->dev); | 861 | tpm_remove_hardware(chip->dev); |
| @@ -871,7 +871,7 @@ static void __exit cleanup_tis(void) · 9 unmodified lines | |||
| 871 | iounmap(i->iobase); | 871 | iounmap(i->iobase); |
| 872 | list_del(&i->list); | 872 | list_del(&i->list); |
| 873 | } | 873 | } |
| 874 | spin_unlock(&tis_lock); | 874 | mutex_unlock(&tis_lock); |
| 875 | #ifdef CONFIG_PNP | 875 | #ifdef CONFIG_PNP |
| 876 | if (!force) { | 876 | if (!force) { |
| 877 | pnp_unregister_driver(&tis_pnp_driver); | 877 | pnp_unregister_driver(&tis_pnp_driver); |
| @@ -1482,7 +1482,7 @@ static int __devinit iop_adma_probe(struct platform_device *pdev) · 1481 unmodified lines | |||
| 1482 | goto err_free_adev; | 1482 | goto err_free_adev; |
| 1483 | } | 1483 | } |
| 1484 | 1484 | ||
| 1485 | dev_dbg(&pdev->dev, "%s: allocted descriptor pool virt %p phys %p\n", | 1485 | dev_dbg(&pdev->dev, "%s: allocated descriptor pool virt %p phys %p\n", |
| 1486 | __func__, adev->dma_desc_pool_virt, | 1486 | __func__, adev->dma_desc_pool_virt, |
| 1487 | (void *) adev->dma_desc_pool); | 1487 | (void *) adev->dma_desc_pool); |
| 1488 | 1488 | ||
| @@ -713,7 +713,6 @@ void psb_intel_lvds_init(struct drm_device *dev, · 712 unmodified lines | |||
| 713 | 713 | ||
| 714 | psb_intel_encoder = | 714 | psb_intel_encoder = |
| 715 | kzalloc(sizeof(struct psb_intel_encoder), GFP_KERNEL); | 715 | kzalloc(sizeof(struct psb_intel_encoder), GFP_KERNEL); |
| 716 | |||
| 717 | if (!psb_intel_encoder) { | 716 | if (!psb_intel_encoder) { |
| 718 | dev_err(dev->dev, "psb_intel_encoder allocation error\n"); | 717 | dev_err(dev->dev, "psb_intel_encoder allocation error\n"); |
| 719 | return; | 718 | return; |
| @@ -721,10 +720,9 @@ void psb_intel_lvds_init(struct drm_device *dev, · 1 unmodified line | |||
| 721 | 720 | ||
| 722 | psb_intel_connector = | 721 | psb_intel_connector = |
| 723 | kzalloc(sizeof(struct psb_intel_connector), GFP_KERNEL); | 722 | kzalloc(sizeof(struct psb_intel_connector), GFP_KERNEL); |
| 724 | |||
| 725 | if (!psb_intel_connector) { | 723 | if (!psb_intel_connector) { |
| 726 | kfree(psb_intel_encoder); | ||
| 727 | dev_err(dev->dev, "psb_intel_connector allocation error\n"); | 724 | dev_err(dev->dev, "psb_intel_connector allocation error\n"); |
| 725 | goto failed_encoder; | ||
| 728 | } | 726 | } |
| 729 | 727 | ||
| 730 | lvds_priv = kzalloc(sizeof(struct psb_intel_lvds_priv), GFP_KERNEL); | 728 | lvds_priv = kzalloc(sizeof(struct psb_intel_lvds_priv), GFP_KERNEL); |
| @@ -862,7 +860,8 @@ failed_blc_i2c: · 131 unmodified lines | |||
| 862 | drm_encoder_cleanup(encoder); | 860 | drm_encoder_cleanup(encoder); |
| 863 | drm_connector_cleanup(connector); | 861 | drm_connector_cleanup(connector); |
| 864 | failed_connector: | 862 | failed_connector: |
| 865 | if (psb_intel_connector) | 863 | kfree(psb_intel_connector); |
| 866 | kfree(psb_intel_connector); | 864 | failed_encoder: |
| 865 | kfree(psb_intel_encoder); | ||
| 867 | } | 866 | } |
| 868 | 867 | ||
| @@ -150,7 +150,7 @@ void rv515_gpu_init(struct radeon_device *rdev) · 149 unmodified lines | |||
| 150 | 150 | ||
| 151 | if (r100_gui_wait_for_idle(rdev)) { | 151 | if (r100_gui_wait_for_idle(rdev)) { |
| 152 | printk(KERN_WARNING "Failed to wait GUI idle while " | 152 | printk(KERN_WARNING "Failed to wait GUI idle while " |
| 153 | "reseting GPU. Bad things might happen.\n"); | 153 | "resetting GPU. Bad things might happen.\n"); |
| 154 | } | 154 | } |
| 155 | rv515_vga_render_disable(rdev); | 155 | rv515_vga_render_disable(rdev); |
| 156 | r420_pipes_init(rdev); | 156 | r420_pipes_init(rdev); |
| @@ -162,7 +162,7 @@ void rv515_gpu_init(struct radeon_device *rdev) · 5 unmodified lines | |||
| 162 | WREG32_PLL(0x000D, tmp); | 162 | WREG32_PLL(0x000D, tmp); |
| 163 | if (r100_gui_wait_for_idle(rdev)) { | 163 | if (r100_gui_wait_for_idle(rdev)) { |
| 164 | printk(KERN_WARNING "Failed to wait GUI idle while " | 164 | printk(KERN_WARNING "Failed to wait GUI idle while " |
| 165 | "reseting GPU. Bad things might happen.\n"); | 165 | "resetting GPU. Bad things might happen.\n"); |
| 166 | } | 166 | } |
| 167 | if (rv515_mc_wait_for_idle(rdev)) { | 167 | if (rv515_mc_wait_for_idle(rdev)) { |
| 168 | printk(KERN_WARNING "Failed to wait MC idle while " | 168 | printk(KERN_WARNING "Failed to wait MC idle while " |
| @@ -430,7 +430,7 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset) · 429 unmodified lines | |||
| 430 | svga_id = vmw_read(dev_priv, SVGA_REG_ID); | 430 | svga_id = vmw_read(dev_priv, SVGA_REG_ID); |
| 431 | if (svga_id != SVGA_ID_2) { | 431 | if (svga_id != SVGA_ID_2) { |
| 432 | ret = -ENOSYS; | 432 | ret = -ENOSYS; |
| 433 | DRM_ERROR("Unsuported SVGA ID 0x%x\n", svga_id); | 433 | DRM_ERROR("Unsupported SVGA ID 0x%x\n", svga_id); |
| 434 | mutex_unlock(&dev_priv->hw_mutex); | 434 | mutex_unlock(&dev_priv->hw_mutex); |
| 435 | goto out_err0; | 435 | goto out_err0; |
| 436 | } | 436 | } |
| @@ -624,7 +624,7 @@ static int tmp401_probe(struct i2c_client *client, · 623 unmodified lines | |||
| 624 | goto exit_remove; | 624 | goto exit_remove; |
| 625 | } | 625 | } |
| 626 | 626 | ||
| 627 | /* Register aditional tmp411 sysfs hooks */ | 627 | /* Register additional tmp411 sysfs hooks */ |
| 628 | if (data->kind == tmp411) { | 628 | if (data->kind == tmp411) { |
| 629 | for (i = 0; i < ARRAY_SIZE(tmp411_attr); i++) { | 629 | for (i = 0; i < ARRAY_SIZE(tmp411_attr); i++) { |
| 630 | err = device_create_file(&client->dev, | 630 | err = device_create_file(&client->dev, |
| @@ -3450,7 +3450,7 @@ static struct se_node_acl *srpt_alloc_fabric_acl(struct se_portal_group *se_tpg) · 3449 unmodified lines | |||
| 3450 | 3450 | ||
| 3451 | nacl = kzalloc(sizeof(struct srpt_node_acl), GFP_KERNEL); | 3451 | nacl = kzalloc(sizeof(struct srpt_node_acl), GFP_KERNEL); |
| 3452 | if (!nacl) { | 3452 | if (!nacl) { |
| 3453 | printk(KERN_ERR "Unable to alocate struct srpt_node_acl\n"); | 3453 | printk(KERN_ERR "Unable to allocate struct srpt_node_acl\n"); |
| 3454 | return NULL; | 3454 | return NULL; |
| 3455 | } | 3455 | } |
| 3456 | 3456 | ||
| @@ -1247,7 +1247,7 @@ static int iommu_init_domains(struct intel_iommu *iommu) · 1246 unmodified lines | |||
| 1247 | unsigned long nlongs; | 1247 | unsigned long nlongs; |
| 1248 | 1248 | ||
| 1249 | ndomains = cap_ndoms(iommu->cap); | 1249 | ndomains = cap_ndoms(iommu->cap); |
| 1250 | pr_debug("IOMMU %d: Number of Domains supportd <%ld>\n", iommu->seq_id, | 1250 | pr_debug("IOMMU %d: Number of Domains supported <%ld>\n", iommu->seq_id, |
| 1251 | ndomains); | 1251 | ndomains); |
| 1252 | nlongs = BITS_TO_LONGS(ndomains); | 1252 | nlongs = BITS_TO_LONGS(ndomains); |
| 1253 | 1253 | ||
| @@ -356,7 +356,7 @@ static void poll_media_bay(struct media_bay_info* bay) · 355 unmodified lines | |||
| 356 | static char *mb_content_types[] = { | 356 | static char *mb_content_types[] = { |
| 357 | "a floppy drive", | 357 | "a floppy drive", |
| 358 | "a floppy drive", | 358 | "a floppy drive", |
| 359 | "an unsuported audio device", | 359 | "an unsupported audio device", |
| 360 | "an ATA device", | 360 | "an ATA device", |
| 361 | "an unsupported PCI device", | 361 | "an unsupported PCI device", |
| 362 | "an unknown device", | 362 | "an unknown device", |
| @@ -12,7 +12,6 @@ · 11 unmodified lines | |||
| 12 | #include <linux/dm-io.h> | 12 | #include <linux/dm-io.h> |
| 13 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
| 14 | #include <linux/vmalloc.h> | 14 | #include <linux/vmalloc.h> |
| 15 | #include <linux/version.h> | ||
| 16 | #include <linux/shrinker.h> | 15 | #include <linux/shrinker.h> |
| 17 | #include <linux/module.h> | 16 | #include <linux/module.h> |
| 18 | 17 | ||
| @@ -1054,7 +1054,7 @@ static int dm04_lme2510_tuner(struct dvb_usb_adapter *adap) · 1053 unmodified lines | |||
| 1054 | if (ret) | 1054 | if (ret) |
| 1055 | info("TUN Found %s tuner", tun_msg[ret]); | 1055 | info("TUN Found %s tuner", tun_msg[ret]); |
| 1056 | else { | 1056 | else { |
| 1057 | info("TUN No tuner found --- reseting device"); | 1057 | info("TUN No tuner found --- resetting device"); |
| 1058 | lme_coldreset(adap->dev->udev); | 1058 | lme_coldreset(adap->dev->udev); |
| 1059 | return -ENODEV; | 1059 | return -ENODEV; |
| 1060 | } | 1060 | } |
| @@ -28,7 +28,6 @@ · 27 unmodified lines | |||
| 28 | #include <linux/delay.h> | 28 | #include <linux/delay.h> |
| 29 | #include <linux/firmware.h> | 29 | #include <linux/firmware.h> |
| 30 | #include <linux/i2c.h> | 30 | #include <linux/i2c.h> |
| 31 | #include <linux/version.h> | ||
| 32 | #include <asm/div64.h> | 31 | #include <asm/div64.h> |
| 33 | 32 | ||
| 34 | #include "dvb_frontend.h" | 33 | #include "dvb_frontend.h" |
| @@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config, · 1271 unmodified lines | |||
| 1272 | /* allocate memory for the internal state */ | 1272 | /* allocate memory for the internal state */ |
| 1273 | state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); | 1273 | state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); |
| 1274 | if (!state) { | 1274 | if (!state) { |
| 1275 | printk(KERN_ERR "Can't alocate memory for tda10045 state\n"); | 1275 | printk(KERN_ERR "Can't allocate memory for tda10045 state\n"); |
| 1276 | return NULL; | 1276 | return NULL; |
| 1277 | } | 1277 | } |
| 1278 | 1278 | ||
| @@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config, · 63 unmodified lines | |||
| 1342 | /* allocate memory for the internal state */ | 1342 | /* allocate memory for the internal state */ |
| 1343 | state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); | 1343 | state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); |
| 1344 | if (!state) { | 1344 | if (!state) { |
| 1345 | printk(KERN_ERR "Can't alocate memory for tda10046 state\n"); | 1345 | printk(KERN_ERR "Can't allocate memory for tda10046 state\n"); |
| 1346 | return NULL; | 1346 | return NULL; |
| 1347 | } | 1347 | } |
| 1348 | 1348 | ||
| @@ -76,7 +76,7 @@ static int mantis_hif_write_wait(struct mantis_ca *ca) · 75 unmodified lines | |||
| 76 | udelay(500); | 76 | udelay(500); |
| 77 | timeout++; | 77 | timeout++; |
| 78 | if (timeout > 100) { | 78 | if (timeout > 100) { |
| 79 | dprintk(MANTIS_ERROR, 1, "Adater(%d) Slot(0): Write operation timed out!", mantis->num); | 79 | dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Write operation timed out!", mantis->num); |
| 80 | rc = -ETIMEDOUT; | 80 | rc = -ETIMEDOUT; |
| 81 | break; | 81 | break; |
| 82 | } | 82 | } |
| @@ -172,7 +172,7 @@ static int fmr2_tea_ext_init(struct snd_tea575x *tea) · 171 unmodified lines | |||
| 172 | fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68, 2, 56); | 172 | fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68, 2, 56); |
| 173 | fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68, 68, 2, 0); | 173 | fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68, 68, 2, 0); |
| 174 | if (tea->ctrl_handler.error) { | 174 | if (tea->ctrl_handler.error) { |
| 175 | printk(KERN_ERR "radio-sf16fmr2: can't initialize contrls\n"); | 175 | printk(KERN_ERR "radio-sf16fmr2: can't initialize controls\n"); |
| 176 | return tea->ctrl_handler.error; | 176 | return tea->ctrl_handler.error; |
| 177 | } | 177 | } |
| 178 | } | 178 | } |
| @@ -292,7 +292,7 @@ static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam) · 291 unmodified lines | |||
| 292 | if ((ccdcparam->med_filt_thres < 0) || | 292 | if ((ccdcparam->med_filt_thres < 0) || |
| 293 | (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) { | 293 | (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) { |
| 294 | dev_dbg(ccdc_cfg.dev, | 294 | dev_dbg(ccdc_cfg.dev, |
| 295 | "Invalid value of median filter thresold\n"); | 295 | "Invalid value of median filter threshold\n"); |
| 296 | return -EINVAL; | 296 | return -EINVAL; |
| 297 | } | 297 | } |
| 298 | 298 | ||
| @@ -649,7 +649,7 @@ static int ov6650_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf) · 648 unmodified lines | |||
| 649 | clkrc = CLKRC_24MHz; | 649 | clkrc = CLKRC_24MHz; |
| 650 | } else { | 650 | } else { |
| 651 | dev_err(&client->dev, | 651 | dev_err(&client->dev, |
| 652 | "unspported input clock, check platform data\n"); | 652 | "unsupported input clock, check platform data\n"); |
| 653 | return -EINVAL; | 653 | return -EINVAL; |
| 654 | } | 654 | } |
| 655 | mclk = sense->master_clock; | 655 | mclk = sense->master_clock; |
| @@ -28,7 +28,6 @@ · 27 unmodified lines | |||
| 28 | #include <linux/bitops.h> | 28 | #include <linux/bitops.h> |
| 29 | #include <linux/spinlock.h> | 29 | #include <linux/spinlock.h> |
| 30 | #include <linux/mfd/core.h> | 30 | #include <linux/mfd/core.h> |
| 31 | #include <linux/version.h> | ||
| 32 | #include <linux/mfd/db5500-prcmu.h> | 31 | #include <linux/mfd/db5500-prcmu.h> |
| 33 | 32 | ||
| 34 | #include "ab5500-core.h" | 33 | #include "ab5500-core.h" |
| @@ -1606,7 +1606,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev) · 1605 unmodified lines | |||
| 1606 | host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 1606 | host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
| 1607 | if (!host->mem) { | 1607 | if (!host->mem) { |
| 1608 | dev_err(&pdev->dev, | 1608 | dev_err(&pdev->dev, |
| 1609 | "failed to get io memory region resouce.\n"); | 1609 | "failed to get io memory region resource.\n"); |
| 1610 | 1610 | ||
| 1611 | ret = -ENOENT; | 1611 | ret = -ENOENT; |
| 1612 | goto probe_free_gpio; | 1612 | goto probe_free_gpio; |
| @@ -1630,7 +1630,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev) · 17 unmodified lines | |||
| 1630 | 1630 | ||
| 1631 | host->irq = platform_get_irq(pdev, 0); | 1631 | host->irq = platform_get_irq(pdev, 0); |
| 1632 | if (host->irq == 0) { | 1632 | if (host->irq == 0) { |
| 1633 | dev_err(&pdev->dev, "failed to get interrupt resouce.\n"); | 1633 | dev_err(&pdev->dev, "failed to get interrupt resource.\n"); |
| 1634 | ret = -EINVAL; | 1634 | ret = -EINVAL; |
| 1635 | goto probe_iounmap; | 1635 | goto probe_iounmap; |
| 1636 | } | 1636 | } |
| @@ -76,10 +76,7 @@ struct mtd_info *do_map_probe(const char *name, struct map_info *map) · 75 unmodified lines | |||
| 76 | */ | 76 | */ |
| 77 | module_put(drv->module); | 77 | module_put(drv->module); |
| 78 | 78 | ||
| 79 | if (ret) | 79 | return ret; |
| 80 | return ret; | ||
| 81 | |||
| 82 | return NULL; | ||
| 83 | } | 80 | } |
| 84 | /* | 81 | /* |
| 85 | * Destroy an MTD device which was created for a map device. | 82 | * Destroy an MTD device which was created for a map device. |
| @@ -1466,7 +1466,7 @@ static int prism2_hw_enable(struct net_device *dev, int initial) · 1465 unmodified lines | |||
| 1466 | * before it starts acting as an AP, so reset port automatically | 1466 | * before it starts acting as an AP, so reset port automatically |
| 1467 | * here just in case */ | 1467 | * here just in case */ |
| 1468 | if (initial && prism2_reset_port(dev)) { | 1468 | if (initial && prism2_reset_port(dev)) { |
| 1469 | printk("%s: MAC port 0 reseting failed\n", dev->name); | 1469 | printk("%s: MAC port 0 resetting failed\n", dev->name); |
| 1470 | return 1; | 1470 | return 1; |
| 1471 | } | 1471 | } |
| 1472 | 1472 | ||
| @@ -1557,7 +1557,7 @@ static void prism2_hw_reset(struct net_device *dev) · 84 unmodified lines | |||
| 1557 | static long last_reset = 0; | 1557 | static long last_reset = 0; |
| 1558 | 1558 | ||
| 1559 | /* do not reset card more than once per second to avoid ending up in a | 1559 | /* do not reset card more than once per second to avoid ending up in a |
| 1560 | * busy loop reseting the card */ | 1560 | * busy loop resetting the card */ |
| 1561 | if (time_before_eq(jiffies, last_reset + HZ)) | 1561 | if (time_before_eq(jiffies, last_reset + HZ)) |
| 1562 | return; | 1562 | return; |
| 1563 | last_reset = jiffies; | 1563 | last_reset = jiffies; |
| @@ -856,7 +856,7 @@ reset_device: · 855 unmodified lines | |||
| 856 | 856 | ||
| 857 | /* semaphore stuck, reset device to avoid fw freeze later */ | 857 | /* semaphore stuck, reset device to avoid fw freeze later */ |
| 858 | dev_warn(zd_mac_dev(mac), "CR_BCN_FIFO_SEMAPHORE stuck, " | 858 | dev_warn(zd_mac_dev(mac), "CR_BCN_FIFO_SEMAPHORE stuck, " |
| 859 | "reseting device..."); | 859 | "resetting device..."); |
| 860 | usb_queue_reset_device(mac->chip.usb.intf); | 860 | usb_queue_reset_device(mac->chip.usb.intf); |
| 861 | 861 | ||
| 862 | return r; | 862 | return r; |
| @@ -1104,7 +1104,7 @@ static void zd_tx_watchdog_handler(struct work_struct *work) · 1103 unmodified lines | |||
| 1104 | goto out; | 1104 | goto out; |
| 1105 | 1105 | ||
| 1106 | /* TX halted, try reset */ | 1106 | /* TX halted, try reset */ |
| 1107 | dev_warn(zd_usb_dev(usb), "TX-stall detected, reseting device..."); | 1107 | dev_warn(zd_usb_dev(usb), "TX-stall detected, resetting device..."); |
| 1108 | 1108 | ||
| 1109 | usb_queue_reset_device(usb->intf); | 1109 | usb_queue_reset_device(usb->intf); |
| 1110 | 1110 | ||
| @@ -379,7 +379,7 @@ static ssize_t hdaps_temp1_show(struct device *dev, · 378 unmodified lines | |||
| 379 | int ret; | 379 | int ret; |
| 380 | 380 | ||
| 381 | ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp); | 381 | ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp); |
| 382 | if (ret < 0) | 382 | if (ret) |
| 383 | return ret; | 383 | return ret; |
| 384 | 384 | ||
| 385 | return sprintf(buf, "%u\n", temp); | 385 | return sprintf(buf, "%u\n", temp); |
| @@ -392,7 +392,7 @@ static ssize_t hdaps_temp2_show(struct device *dev, · 6 unmodified lines | |||
| 392 | int ret; | 392 | int ret; |
| 393 | 393 | ||
| 394 | ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp); | 394 | ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp); |
| 395 | if (ret < 0) | 395 | if (ret) |
| 396 | return ret; | 396 | return ret; |
| 397 | 397 | ||
| 398 | return sprintf(buf, "%u\n", temp); | 398 | return sprintf(buf, "%u\n", temp); |
| @@ -47,10 +47,10 @@ · 46 unmodified lines | |||
| 47 | #define BQ27x00_REG_TTE 0x16 | 47 | #define BQ27x00_REG_TTE 0x16 |
| 48 | #define BQ27x00_REG_TTF 0x18 | 48 | #define BQ27x00_REG_TTF 0x18 |
| 49 | #define BQ27x00_REG_TTECP 0x26 | 49 | #define BQ27x00_REG_TTECP 0x26 |
| 50 | #define BQ27x00_REG_NAC 0x0C /* Nominal available capaciy */ | 50 | #define BQ27x00_REG_NAC 0x0C /* Nominal available capacity */ |
| 51 | #define BQ27x00_REG_LMD 0x12 /* Last measured discharge */ | 51 | #define BQ27x00_REG_LMD 0x12 /* Last measured discharge */ |
| 52 | #define BQ27x00_REG_CYCT 0x2A /* Cycle count total */ | 52 | #define BQ27x00_REG_CYCT 0x2A /* Cycle count total */ |
| 53 | #define BQ27x00_REG_AE 0x22 /* Available enery */ | 53 | #define BQ27x00_REG_AE 0x22 /* Available energy */ |
| 54 | 54 | ||
| 55 | #define BQ27000_REG_RSOC 0x0B /* Relative State-of-Charge */ | 55 | #define BQ27000_REG_RSOC 0x0B /* Relative State-of-Charge */ |
| 56 | #define BQ27000_REG_ILMD 0x76 /* Initial last measured discharge */ | 56 | #define BQ27000_REG_ILMD 0x76 /* Initial last measured discharge */ |
| @@ -8993,7 +8993,7 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) · 8992 unmodified lines | |||
| 8993 | printk("Invalid Command IU Field\n"); | 8993 | printk("Invalid Command IU Field\n"); |
| 8994 | break; | 8994 | break; |
| 8995 | case SIU_PFC_TMF_NOT_SUPPORTED: | 8995 | case SIU_PFC_TMF_NOT_SUPPORTED: |
| 8996 | printk("TMF not supportd\n"); | 8996 | printk("TMF not supported\n"); |
| 8997 | break; | 8997 | break; |
| 8998 | case SIU_PFC_TMF_FAILED: | 8998 | case SIU_PFC_TMF_FAILED: |
| 8999 | printk("TMF failed\n"); | 8999 | printk("TMF failed\n"); |
| @@ -9113,7 +9113,7 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) · 113 unmodified lines | |||
| 9113 | break; | 9113 | break; |
| 9114 | } | 9114 | } |
| 9115 | case SCSI_STATUS_OK: | 9115 | case SCSI_STATUS_OK: |
| 9116 | printk("%s: Interrupted for staus of 0???\n", | 9116 | printk("%s: Interrupted for status of 0???\n", |
| 9117 | ahd_name(ahd)); | 9117 | ahd_name(ahd)); |
| 9118 | /* FALLTHROUGH */ | 9118 | /* FALLTHROUGH */ |
| 9119 | default: | 9119 | default: |
| @@ -1049,7 +1049,7 @@ ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) · 1048 unmodified lines | |||
| 1049 | ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status); | 1049 | ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status); |
| 1050 | switch (hscb->shared_data.status.scsi_status) { | 1050 | switch (hscb->shared_data.status.scsi_status) { |
| 1051 | case SCSI_STATUS_OK: | 1051 | case SCSI_STATUS_OK: |
| 1052 | printk("%s: Interrupted for staus of 0???\n", | 1052 | printk("%s: Interrupted for status of 0???\n", |
| 1053 | ahc_name(ahc)); | 1053 | ahc_name(ahc)); |
| 1054 | break; | 1054 | break; |
| 1055 | case SCSI_STATUS_CMD_TERMINATED: | 1055 | case SCSI_STATUS_CMD_TERMINATED: |
| @@ -58,7 +58,6 @@ · 57 unmodified lines | |||
| 58 | #include "host.h" | 58 | #include "host.h" |
| 59 | #include "isci.h" | 59 | #include "isci.h" |
| 60 | #include "port.h" | 60 | #include "port.h" |
| 61 | #include "host.h" | ||
| 62 | #include "probe_roms.h" | 61 | #include "probe_roms.h" |
| 63 | #include "remote_device.h" | 62 | #include "remote_device.h" |
| 64 | #include "request.h" | 63 | #include "request.h" |
| @@ -149,7 +149,7 @@ _config_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, · 148 unmodified lines | |||
| 149 | desc = "raid_config"; | 149 | desc = "raid_config"; |
| 150 | break; | 150 | break; |
| 151 | case MPI2_CONFIG_EXTPAGETYPE_DRIVER_MAPPING: | 151 | case MPI2_CONFIG_EXTPAGETYPE_DRIVER_MAPPING: |
| 152 | desc = "driver_mappping"; | 152 | desc = "driver_mapping"; |
| 153 | break; | 153 | break; |
| 154 | } | 154 | } |
| 155 | break; | 155 | break; |
| @@ -3532,7 +3532,7 @@ static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb) · 3531 unmodified lines | |||
| 3532 | break; | 3532 | break; |
| 3533 | case OPC_OUB_DEREG_DEV: | 3533 | case OPC_OUB_DEREG_DEV: |
| 3534 | PM8001_MSG_DBG(pm8001_ha, | 3534 | PM8001_MSG_DBG(pm8001_ha, |
| 3535 | pm8001_printk("unresgister the deviece\n")); | 3535 | pm8001_printk("unregister the device\n")); |
| 3536 | mpi_dereg_resp(pm8001_ha, piomb); | 3536 | mpi_dereg_resp(pm8001_ha, piomb); |
| 3537 | break; | 3537 | break; |
| 3538 | case OPC_OUB_GET_DEV_HANDLE: | 3538 | case OPC_OUB_GET_DEV_HANDLE: |
| @@ -857,11 +857,11 @@ static struct pmcraid_ioasc_error pmcraid_ioasc_error_table[] = { · 856 unmodified lines | |||
| 857 | {0x01180600, IOASC_LOG_LEVEL_HARD, | 857 | {0x01180600, IOASC_LOG_LEVEL_HARD, |
| 858 | "Recovered Error, soft media error, sector reassignment suggested"}, | 858 | "Recovered Error, soft media error, sector reassignment suggested"}, |
| 859 | {0x015D0000, IOASC_LOG_LEVEL_HARD, | 859 | {0x015D0000, IOASC_LOG_LEVEL_HARD, |
| 860 | "Recovered Error, failure prediction thresold exceeded"}, | 860 | "Recovered Error, failure prediction threshold exceeded"}, |
| 861 | {0x015D9200, IOASC_LOG_LEVEL_HARD, | 861 | {0x015D9200, IOASC_LOG_LEVEL_HARD, |
| 862 | "Recovered Error, soft Cache Card Battery error thresold"}, | 862 | "Recovered Error, soft Cache Card Battery error threshold"}, |
| 863 | {0x015D9200, IOASC_LOG_LEVEL_HARD, | 863 | {0x015D9200, IOASC_LOG_LEVEL_HARD, |
| 864 | "Recovered Error, soft Cache Card Battery error thresold"}, | 864 | "Recovered Error, soft Cache Card Battery error threshold"}, |
| 865 | {0x02048000, IOASC_LOG_LEVEL_HARD, | 865 | {0x02048000, IOASC_LOG_LEVEL_HARD, |
| 866 | "Not Ready, IOA Reset Required"}, | 866 | "Not Ready, IOA Reset Required"}, |
| 867 | {0x02408500, IOASC_LOG_LEVEL_HARD, | 867 | {0x02408500, IOASC_LOG_LEVEL_HARD, |
| @@ -731,7 +731,7 @@ qla2x00_process_loopback(struct fc_bsg_job *bsg_job) · 730 unmodified lines | |||
| 731 | 731 | ||
| 732 | if (elreq.options != EXTERNAL_LOOPBACK) { | 732 | if (elreq.options != EXTERNAL_LOOPBACK) { |
| 733 | ql_dbg(ql_dbg_user, vha, 0x7020, | 733 | ql_dbg(ql_dbg_user, vha, 0x7020, |
| 734 | "Internal: curent port config = %x\n", | 734 | "Internal: current port config = %x\n", |
| 735 | config[0]); | 735 | config[0]); |
| 736 | if (qla81xx_set_internal_loopback(vha, config, | 736 | if (qla81xx_set_internal_loopback(vha, config, |
| 737 | new_config)) { | 737 | new_config)) { |
| @@ -3382,7 +3382,7 @@ static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[]) · 3381 unmodified lines | |||
| 3382 | if (qla4xxx_get_flash(ha, buf_dma, addr, | 3382 | if (qla4xxx_get_flash(ha, buf_dma, addr, |
| 3383 | 13 * sizeof(uint8_t)) != QLA_SUCCESS) { | 3383 | 13 * sizeof(uint8_t)) != QLA_SUCCESS) { |
| 3384 | DEBUG2(ql4_printk(KERN_ERR, ha, "scsi%ld: %s: Get Flash" | 3384 | DEBUG2(ql4_printk(KERN_ERR, ha, "scsi%ld: %s: Get Flash" |
| 3385 | "failed\n", ha->host_no, __func__)); | 3385 | " failed\n", ha->host_no, __func__)); |
| 3386 | ret = QLA_ERROR; | 3386 | ret = QLA_ERROR; |
| 3387 | goto exit_boot_info_free; | 3387 | goto exit_boot_info_free; |
| 3388 | } | 3388 | } |
| @@ -3620,7 +3620,7 @@ static int qla4xxx_setup_boot_info(struct scsi_qla_host *ha) · 231 unmodified lines | |||
| 3620 | 3620 | ||
| 3621 | if (ql4xdisablesysfsboot) { | 3621 | if (ql4xdisablesysfsboot) { |
| 3622 | ql4_printk(KERN_INFO, ha, | 3622 | ql4_printk(KERN_INFO, ha, |
| 3623 | "%s: syfsboot disabled - driver will trigger login" | 3623 | "%s: syfsboot disabled - driver will trigger login " |
| 3624 | "and publish session for discovery .\n", __func__); | 3624 | "and publish session for discovery .\n", __func__); |
| 3625 | return QLA_SUCCESS; | 3625 | return QLA_SUCCESS; |
| 3626 | } | 3626 | } |
| @@ -15,7 +15,6 @@ · 14 unmodified lines | |||
| 15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
| 16 | #include <linux/sysfs.h> | 16 | #include <linux/sysfs.h> |
| 17 | #include <linux/regulator/consumer.h> | 17 | #include <linux/regulator/consumer.h> |
| 18 | #include <linux/module.h> | ||
| 19 | 18 | ||
| 20 | #include "../iio.h" | 19 | #include "../iio.h" |
| 21 | #include "../sysfs.h" | 20 | #include "../sysfs.h" |
| @@ -3923,7 +3923,7 @@ static void tdma_reset(struct slgt_info *info) · 3922 unmodified lines | |||
| 3923 | */ | 3923 | */ |
| 3924 | static void enable_loopback(struct slgt_info *info) | 3924 | static void enable_loopback(struct slgt_info *info) |
| 3925 | { | 3925 | { |
| 3926 | /* SCR (serial control) BIT2=looopback enable */ | 3926 | /* SCR (serial control) BIT2=loopback enable */ |
| 3927 | wr_reg16(info, SCR, (unsigned short)(rd_reg16(info, SCR) | BIT2)); | 3927 | wr_reg16(info, SCR, (unsigned short)(rd_reg16(info, SCR) | BIT2)); |
| 3928 | 3928 | ||
| 3929 | if (info->params.mode != MGSL_MODE_ASYNC) { | 3929 | if (info->params.mode != MGSL_MODE_ASYNC) { |
| @@ -89,7 +89,6 @@ · 88 unmodified lines | |||
| 89 | #include "disk-io.h" | 89 | #include "disk-io.h" |
| 90 | #include "transaction.h" | 90 | #include "transaction.h" |
| 91 | #include "extent_io.h" | 91 | #include "extent_io.h" |
| 92 | #include "disk-io.h" | ||
| 93 | #include "volumes.h" | 92 | #include "volumes.h" |
| 94 | #include "print-tree.h" | 93 | #include "print-tree.h" |
| 95 | #include "locking.h" | 94 | #include "locking.h" |
| @@ -1068,7 +1068,7 @@ int btrfs_write_out_cache(struct btrfs_root *root, · 1067 unmodified lines | |||
| 1068 | spin_unlock(&block_group->lock); | 1068 | spin_unlock(&block_group->lock); |
| 1069 | ret = 0; | 1069 | ret = 0; |
| 1070 | #ifdef DEBUG | 1070 | #ifdef DEBUG |
| 1071 | printk(KERN_ERR "btrfs: failed to write free space cace " | 1071 | printk(KERN_ERR "btrfs: failed to write free space cache " |
| 1072 | "for block group %llu\n", block_group->key.objectid); | 1072 | "for block group %llu\n", block_group->key.objectid); |
| 1073 | #endif | 1073 | #endif |
| 1074 | } | 1074 | } |
| @@ -257,10 +257,10 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent) · 256 unmodified lines | |||
| 257 | 257 | ||
| 258 | /* Do sanity checks on the superblock */ | 258 | /* Do sanity checks on the superblock */ |
| 259 | if (super.magic != CRAMFS_MAGIC) { | 259 | if (super.magic != CRAMFS_MAGIC) { |
| 260 | /* check for wrong endianess */ | 260 | /* check for wrong endianness */ |
| 261 | if (super.magic == CRAMFS_MAGIC_WEND) { | 261 | if (super.magic == CRAMFS_MAGIC_WEND) { |
| 262 | if (!silent) | 262 | if (!silent) |
| 263 | printk(KERN_ERR "cramfs: wrong endianess\n"); | 263 | printk(KERN_ERR "cramfs: wrong endianness\n"); |
| 264 | goto out; | 264 | goto out; |
| 265 | } | 265 | } |
| 266 | 266 | ||
| @@ -270,7 +270,7 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent) · 3 unmodified lines | |||
| 270 | mutex_unlock(&read_mutex); | 270 | mutex_unlock(&read_mutex); |
| 271 | if (super.magic != CRAMFS_MAGIC) { | 271 | if (super.magic != CRAMFS_MAGIC) { |
| 272 | if (super.magic == CRAMFS_MAGIC_WEND && !silent) | 272 | if (super.magic == CRAMFS_MAGIC_WEND && !silent) |
| 273 | printk(KERN_ERR "cramfs: wrong endianess\n"); | 273 | printk(KERN_ERR "cramfs: wrong endianness\n"); |
| 274 | else if (!silent) | 274 | else if (!silent) |
| 275 | printk(KERN_ERR "cramfs: wrong magic\n"); | 275 | printk(KERN_ERR "cramfs: wrong magic\n"); |
| 276 | goto out; | 276 | goto out; |
| @@ -1284,7 +1284,7 @@ int writeback_inodes_sb_if_idle(struct super_block *sb, enum wb_reason reason) · 1283 unmodified lines | |||
| 1284 | EXPORT_SYMBOL(writeback_inodes_sb_if_idle); | 1284 | EXPORT_SYMBOL(writeback_inodes_sb_if_idle); |
| 1285 | 1285 | ||
| 1286 | /** | 1286 | /** |
| 1287 | * writeback_inodes_sb_if_idle - start writeback if none underway | 1287 | * writeback_inodes_sb_nr_if_idle - start writeback if none underway |
| 1288 | * @sb: the superblock | 1288 | * @sb: the superblock |
| 1289 | * @nr: the number of pages to write | 1289 | * @nr: the number of pages to write |
| 1290 | * @reason: reason why some writeback work was initiated | 1290 | * @reason: reason why some writeback work was initiated |
| @@ -340,7 +340,7 @@ int jffs2_unregister_compressor(struct jffs2_compressor *comp) · 339 unmodified lines | |||
| 340 | 340 | ||
| 341 | if (comp->usecount) { | 341 | if (comp->usecount) { |
| 342 | spin_unlock(&jffs2_compressor_list_lock); | 342 | spin_unlock(&jffs2_compressor_list_lock); |
| 343 | printk(KERN_WARNING "JFFS2: Compressor modul is in use. Unregister failed.\n"); | 343 | printk(KERN_WARNING "JFFS2: Compressor module is in use. Unregister failed.\n"); |
| 344 | return -1; | 344 | return -1; |
| 345 | } | 345 | } |
| 346 | list_del(&comp->list); | 346 | list_del(&comp->list); |
| @@ -2008,14 +2008,14 @@ typedef struct { · 2007 unmodified lines | |||
| 2008 | * | 2008 | * |
| 2009 | * When a directory is small enough to fit inside the index root then this | 2009 | * When a directory is small enough to fit inside the index root then this |
| 2010 | * is the only attribute describing the directory. When the directory is too | 2010 | * is the only attribute describing the directory. When the directory is too |
| 2011 | * large to fit in the index root, on the other hand, two aditional attributes | 2011 | * large to fit in the index root, on the other hand, two additional attributes |
| 2012 | * are present: an index allocation attribute, containing sub-nodes of the B+ | 2012 | * are present: an index allocation attribute, containing sub-nodes of the B+ |
| 2013 | * directory tree (see below), and a bitmap attribute, describing which virtual | 2013 | * directory tree (see below), and a bitmap attribute, describing which virtual |
| 2014 | * cluster numbers (vcns) in the index allocation attribute are in use by an | 2014 | * cluster numbers (vcns) in the index allocation attribute are in use by an |
| 2015 | * index block. | 2015 | * index block. |
| 2016 | * | 2016 | * |
| 2017 | * NOTE: The root directory (FILE_root) contains an entry for itself. Other | 2017 | * NOTE: The root directory (FILE_root) contains an entry for itself. Other |
| 2018 | * dircetories do not contain entries for themselves, though. | 2018 | * directories do not contain entries for themselves, though. |
| 2019 | */ | 2019 | */ |
| 2020 | typedef struct { | 2020 | typedef struct { |
| 2021 | ATTR_TYPE type; /* Type of the indexed attribute. Is | 2021 | ATTR_TYPE type; /* Type of the indexed attribute. Is |
| @@ -513,7 +513,7 @@ read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos) · 512 unmodified lines | |||
| 513 | 513 | ||
| 514 | n = copy_to_user(buffer, (char *)start, tsz); | 514 | n = copy_to_user(buffer, (char *)start, tsz); |
| 515 | /* | 515 | /* |
| 516 | * We cannot distingush between fault on source | 516 | * We cannot distinguish between fault on source |
| 517 | * and fault on destination. When this happens | 517 | * and fault on destination. When this happens |
| 518 | * we clear too and hope it will trigger the | 518 | * we clear too and hope it will trigger the |
| 519 | * EFAULT again. | 519 | * EFAULT again. |
| @@ -975,7 +975,7 @@ static int leaf_cut_entries(struct buffer_head *bh, · 974 unmodified lines | |||
| 975 | remove */ | 975 | remove */ |
| 976 | RFALSE(!is_direntry_le_ih(ih), "10180: item is not directory item"); | 976 | RFALSE(!is_direntry_le_ih(ih), "10180: item is not directory item"); |
| 977 | RFALSE(I_ENTRY_COUNT(ih) < from + del_count, | 977 | RFALSE(I_ENTRY_COUNT(ih) < from + del_count, |
| 978 | "10185: item contains not enough entries: entry_cout = %d, from = %d, to delete = %d", | 978 | "10185: item contains not enough entries: entry_count = %d, from = %d, to delete = %d", |
| 979 | I_ENTRY_COUNT(ih), from, del_count); | 979 | I_ENTRY_COUNT(ih), from, del_count); |
| 980 | 980 | ||
| 981 | if (del_count == 0) | 981 | if (del_count == 0) |
| @@ -236,7 +236,7 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); · 235 unmodified lines | |||
| 236 | 236 | ||
| 237 | /* | 237 | /* |
| 238 | * Rather then using noinline to prevent stack consumption, use | 238 | * Rather then using noinline to prevent stack consumption, use |
| 239 | * noinline_for_stack instead. For documentaiton reasons. | 239 | * noinline_for_stack instead. For documentation reasons. |
| 240 | */ | 240 | */ |
| 241 | #define noinline_for_stack noinline | 241 | #define noinline_for_stack noinline |
| 242 | 242 | ||
| @@ -746,28 +746,28 @@ int pci_bus_write_config_dword(struct pci_bus *bus, unsigned int devfn, · 745 unmodified lines | |||
| 746 | int where, u32 val); | 746 | int where, u32 val); |
| 747 | struct pci_ops *pci_bus_set_ops(struct pci_bus *bus, struct pci_ops *ops); | 747 | struct pci_ops *pci_bus_set_ops(struct pci_bus *bus, struct pci_ops *ops); |
| 748 | 748 | ||
| 749 | static inline int pci_read_config_byte(struct pci_dev *dev, int where, u8 *val) | 749 | static inline int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val) |
| 750 | { | 750 | { |
| 751 | return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val); | 751 | return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val); |
| 752 | } | 752 | } |
| 753 | static inline int pci_read_config_word(struct pci_dev *dev, int where, u16 *val) | 753 | static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val) |
| 754 | { | 754 | { |
| 755 | return pci_bus_read_config_word(dev->bus, dev->devfn, where, val); | 755 | return pci_bus_read_config_word(dev->bus, dev->devfn, where, val); |
| 756 | } | 756 | } |
| 757 | static inline int pci_read_config_dword(struct pci_dev *dev, int where, | 757 | static inline int pci_read_config_dword(const struct pci_dev *dev, int where, |
| 758 | u32 *val) | 758 | u32 *val) |
| 759 | { | 759 | { |
| 760 | return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val); | 760 | return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val); |
| 761 | } | 761 | } |
| 762 | static inline int pci_write_config_byte(struct pci_dev *dev, int where, u8 val) | 762 | static inline int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val) |
| 763 | { | 763 | { |
| 764 | return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val); | 764 | return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val); |
| 765 | } | 765 | } |
| 766 | static inline int pci_write_config_word(struct pci_dev *dev, int where, u16 val) | 766 | static inline int pci_write_config_word(const struct pci_dev *dev, int where, u16 val) |
| 767 | { | 767 | { |
| 768 | return pci_bus_write_config_word(dev->bus, dev->devfn, where, val); | 768 | return pci_bus_write_config_word(dev->bus, dev->devfn, where, val); |
| 769 | } | 769 | } |
| 770 | static inline int pci_write_config_dword(struct pci_dev *dev, int where, | 770 | static inline int pci_write_config_dword(const struct pci_dev *dev, int where, |
| 771 | u32 val) | 771 | u32 val) |
| 772 | { | 772 | { |
| 773 | return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val); | 773 | return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val); |
| @@ -812,7 +812,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts) · 811 unmodified lines | |||
| 812 | * Check permissions before connecting or sending datagrams from @sock to | 812 | * Check permissions before connecting or sending datagrams from @sock to |
| 813 | * @other. | 813 | * @other. |
| 814 | * @sock contains the socket structure. | 814 | * @sock contains the socket structure. |
| 815 | * @sock contains the peer socket structure. | 815 | * @other contains the peer socket structure. |
| 816 | * Return 0 if permission is granted. | 816 | * Return 0 if permission is granted. |
| 817 | * | 817 | * |
| 818 | * The @unix_stream_connect and @unix_may_send hooks were necessary because | 818 | * The @unix_stream_connect and @unix_may_send hooks were necessary because |
| @@ -64,7 +64,7 @@ struct writeback_control { · 63 unmodified lines | |||
| 64 | long pages_skipped; /* Pages which were not written */ | 64 | long pages_skipped; /* Pages which were not written */ |
| 65 | 65 | ||
| 66 | /* | 66 | /* |
| 67 | * For a_ops->writepages(): is start or end are non-zero then this is | 67 | * For a_ops->writepages(): if start or end are non-zero then this is |
| 68 | * a hint that the filesystem need only write out the pages inside that | 68 | * a hint that the filesystem need only write out the pages inside that |
| 69 | * byterange. The byte at `end' is included in the writeout request. | 69 | * byterange. The byte at `end' is included in the writeout request. |
| 70 | */ | 70 | */ |
| @@ -65,7 +65,6 @@ TRACE_EVENT(machine_suspend, · 64 unmodified lines | |||
| 65 | TP_printk("state=%lu", (unsigned long)__entry->state) | 65 | TP_printk("state=%lu", (unsigned long)__entry->state) |
| 66 | ); | 66 | ); |
| 67 | 67 | ||
| 68 | /* This code will be removed after deprecation time exceeded (2.6.41) */ | ||
| 69 | #ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED | 68 | #ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED |
| 70 | 69 | ||
| 71 | /* | 70 | /* |
| @@ -446,8 +446,8 @@ void __init __weak thread_info_cache_init(void) · 445 unmodified lines | |||
| 446 | static void __init mm_init(void) | 446 | static void __init mm_init(void) |
| 447 | { | 447 | { |
| 448 | /* | 448 | /* |
| 449 | * page_cgroup requires countinous pages as memmap | 449 | * page_cgroup requires contiguous pages, |
| 450 | * and it's bigger than MAX_ORDER unless SPARSEMEM. | 450 | * bigger than MAX_ORDER unless SPARSEMEM. |
| 451 | */ | 451 | */ |
| 452 | page_cgroup_init_flatmem(); | 452 | page_cgroup_init_flatmem(); |
| 453 | mem_init(); | 453 | mem_init(); |
| @@ -749,6 +749,7 @@ int adjust_resource(struct resource *res, resource_size_t start, resource_size_t · 748 unmodified lines | |||
| 749 | write_unlock(&resource_lock); | 749 | write_unlock(&resource_lock); |
| 750 | return result; | 750 | return result; |
| 751 | } | 751 | } |
| 752 | EXPORT_SYMBOL(adjust_resource); | ||
| 752 | 753 | ||
| 753 | static void __init __reserve_region_with_split(struct resource *root, | 754 | static void __init __reserve_region_with_split(struct resource *root, |
| 754 | resource_size_t start, resource_size_t end, | 755 | resource_size_t start, resource_size_t end, |
| @@ -792,8 +793,6 @@ void __init reserve_region_with_split(struct resource *root, · 37 unmodified lines | |||
| 792 | write_unlock(&resource_lock); | 793 | write_unlock(&resource_lock); |
| 793 | } | 794 | } |
| 794 | 795 | ||
| 795 | EXPORT_SYMBOL(adjust_resource); | ||
| 796 | |||
| 797 | /** | 796 | /** |
| 798 | * resource_alignment - calculate resource's alignment | 797 | * resource_alignment - calculate resource's alignment |
| 799 | * @res: resource pointer | 798 | * @res: resource pointer |
| @@ -184,7 +184,7 @@ int invalidate_inode_page(struct page *page) · 183 unmodified lines | |||
| 184 | } | 184 | } |
| 185 | 185 | ||
| 186 | /** | 186 | /** |
| 187 | * truncate_inode_pages - truncate range of pages specified by start & end byte offsets | 187 | * truncate_inode_pages_range - truncate range of pages specified by start & end byte offsets |
| 188 | * @mapping: mapping to truncate | 188 | * @mapping: mapping to truncate |
| 189 | * @lstart: offset from which to truncate | 189 | * @lstart: offset from which to truncate |
| 190 | * @lend: offset to which to truncate | 190 | * @lend: offset to which to truncate |
| @@ -826,7 +826,7 @@ static void rds_ib_process_recv(struct rds_connection *conn, · 825 unmodified lines | |||
| 826 | 826 | ||
| 827 | if (data_len < sizeof(struct rds_header)) { | 827 | if (data_len < sizeof(struct rds_header)) { |
| 828 | rds_ib_conn_error(conn, "incoming message " | 828 | rds_ib_conn_error(conn, "incoming message " |
| 829 | "from %pI4 didn't inclue a " | 829 | "from %pI4 didn't include a " |
| 830 | "header, disconnecting and " | 830 | "header, disconnecting and " |
| 831 | "reconnecting\n", | 831 | "reconnecting\n", |
| 832 | &conn->c_faddr); | 832 | &conn->c_faddr); |
| @@ -661,7 +661,7 @@ static void rds_iw_process_recv(struct rds_connection *conn, · 660 unmodified lines | |||
| 661 | 661 | ||
| 662 | if (byte_len < sizeof(struct rds_header)) { | 662 | if (byte_len < sizeof(struct rds_header)) { |
| 663 | rds_iw_conn_error(conn, "incoming message " | 663 | rds_iw_conn_error(conn, "incoming message " |
| 664 | "from %pI4 didn't inclue a " | 664 | "from %pI4 didn't include a " |
| 665 | "header, disconnecting and " | 665 | "header, disconnecting and " |
| 666 | "reconnecting\n", | 666 | "reconnecting\n", |
| 667 | &conn->c_faddr); | 667 | &conn->c_faddr); |
| @@ -1643,7 +1643,7 @@ static void cxt5051_update_speaker(struct hda_codec *codec) · 1642 unmodified lines | |||
| 1643 | pinctl = (!spec->hp_present && spec->cur_eapd) ? PIN_OUT : 0; | 1643 | pinctl = (!spec->hp_present && spec->cur_eapd) ? PIN_OUT : 0; |
| 1644 | snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, | 1644 | snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, |
| 1645 | pinctl); | 1645 | pinctl); |
| 1646 | /* on ideapad there is an aditional speaker (subwoofer) to mute */ | 1646 | /* on ideapad there is an additional speaker (subwoofer) to mute */ |
| 1647 | if (spec->ideapad) | 1647 | if (spec->ideapad) |
| 1648 | snd_hda_codec_write(codec, 0x1b, 0, | 1648 | snd_hda_codec_write(codec, 0x1b, 0, |
| 1649 | AC_VERB_SET_PIN_WIDGET_CONTROL, | 1649 | AC_VERB_SET_PIN_WIDGET_CONTROL, |
| @@ -2601,7 +2601,7 @@ sub config_bisect { · 2600 unmodified lines | |||
| 2601 | # read directly what we want to check | 2601 | # read directly what we want to check |
| 2602 | my %config_check; | 2602 | my %config_check; |
| 2603 | open (IN, $output_config) | 2603 | open (IN, $output_config) |
| 2604 | or dodie "faied to open $output_config"; | 2604 | or dodie "failed to open $output_config"; |
| 2605 | 2605 | ||
| 2606 | while (<IN>) { | 2606 | while (<IN>) { |
| 2607 | if (/^((CONFIG\S*)=.*)/) { | 2607 | if (/^((CONFIG\S*)=.*)/) { |