mmotm 2009-01-31-01-08 uploaded
The mm-of-the-moment snapshot 2009-01-31-01-08 has been uploaded to
http://userweb.kernel.org/~akpm/mmotm/
and will soon be available at
git://git.zen-sources.org/zen/mmotm.git
It contains the following patches against 2.6.29-rc3:
origin.patch
kernel-asyncc-fix-printk-warnings.patch
hpilo-open-close-fix.patch
generic-swap-dont-return-a-value-from-swap.patch misc-dell-laptop-should-depend-on-power_supply.patch
rtc-rtc-dm355evm-driver.patch
fbmem-copy_from-to_user-with-mutex-held-v3.patch kmalloc-return-null-instead-of-link-failure.patch shm-fix-shmctlshm_info-lockup-with-config_shmem.patch revert-rlimit-permit-setting-rlimit_nofile-to-rlim_infinity.patch hp-wmi-fix-error-path-in-hp_wmi_bios_setup.patch lis3lv02d-add-axes-knowledge-for-hp-6510b.patch lis3lv02d-add-axes-knowledge-for-hp-6530.patch lis3lv02d-add-axes-knowledge-for-hp-6730.patch lis3lv02d-add-axes-knowledge-for-hp-6710.patch maintainers-general-listsopenfabricsorg-is-moderated.patch wait-prevent-exclusive-waiter-starvation.patch wait-prevent-exclusive-waiter-starvation-checkpatch-fixes.patch do_wp_page-fix-regression-with-execute-in-place.patch atmel-ssc-fix-misuse-of-dev_dbg-when-requested-ssc-instance-is-not-found.patch drivers-video-backlight-rename-da903x-to-da903x_bl.patch rtc-ds1390-fix-compilation-warnings-in-drivers-rtc-rtc-ds1390c.patch seq_file-move-traverse-so-it-can-be-used-from-seq_read.patch seq_file-properly-cope-with-pread.patch
seq_file-properly-cope-with-pread-fix.patch
i-need-old-gcc.patch
repeatable-slab-corruption-with-ltp-msgctl08.patch
linux-next.patch
next-remove-localversion.patch
linux-next-git-rejects.patch
kvm-unbork.patch
fix-sparseirq-use-kstat_irqs_cpu-on-non-x86-architectures-too.patch acpi-check-_pss-invalidation-when-bios-report-_pss-with-all-0x80000000.patch acpi-fix-pmtimer-overflow-which-makes-cx-states-time-incorrect.patch acpi-fix-pmtimer-overflow-which-makes-cx-states-time-incorrect-checkpatch-fixes.patch mm-only-enforce-acpi-resource-conflict-checks.patch thinkpad-acpi-split-delayed-leds-stuff-clean-up-code.patch thinkpad-acpi-split-delayed-leds-stuff-clean-up-code-checkpatch-fixes.patch x86-simplify-highmem-related-kconfig-entries.patch x86-define-arch_want_frame_pointers.patch
x86-define-arch_want_frame_pointers-fix.patch irq-irq-and-pci_ids-patch-for-intel-tigerpoint-deviceids.patch eeepc-should-depend-on-input.patch
kgdb-fix-kernel-doc-error.patch intel-agp-fix-a-panic-with-1m-of-shared-memory-no-gtt-entries.patch auditsc-fix-kernel-doc-notation.patch
audit-execve-record-remove-bogus-newline.patch
kernel-auditscc-fix-warning.patch
cifs-use-ipv6_addr_equal-for-address-comparison.patch
pcmcia-pccard-deadlock-fix.patch drivers-consolidate-driver_probe_done-loops-into-one-place.patch drivers-consolidate-driver_probe_done-loops-into-one-place-fix.patch drivers-consolidate-driver_probe_done-loops-into-one-place-checkpatch-fixes.patch resume-wait-for-device-probing-to-finish.patch sysfs-reference-sysfs_dirent-from-sysfs-inodes.patch sysfs-reference-sysfs_dirent-from-sysfs-inodes-fix.patch
early-platform-driver-v3.patch
early-platform-driver-v3-checkpatch-fixes.patch drm-fix-lock_test_with_return-macro.patch dvb-negative-internal-sub_range-wont-get-noticed.patch i2c-incremental-i2c-mpc-driver-fix-for-multi-master-i2c-busses.patch i2c-fix-i2c-mpc-driver-for-multi-master-i2c-busses.patch clocksource-pass-clocksource-to-read-callback.patch clocksource-add-enable-and-disable-callbacks.patch clocksource-sanity-check-sysfs-clocksource-changes.patch input-touchscreen-driver-add-support-ad7877-touchscreen-driver.patch input-mousedev-distinguish-a-moving-finger-from-a-tapping-finger.patch input-ad7879-touchscreen-driver.patch input-mouse-alpsc-handle-touchpoints-buttons-correctly.patch input-ads7846c-sparse-lock-annotation.patch drivers-input-keyboard-atkbdc-use-function-for-generation-of-keyrelease-events.patch drivers-input-keyboard-atkbdc-fujitsu-siemens-amilo-pa-1510-quirks.patch input-bcm5974-prepare-for-a-new-trackpad-header-type.patch input-bcm5974-add-quad-finger-tapping.patch input-bcm5974-add-support-for-the-macbook-5-unibody.patch input-bcm5974-augmented-debug-information.patch input-bcm5974-declare-alignment-usage.patch input-bcm5974-declare-alignment-usage-checkpatch-fixes.patch input-allow-certain-ev_abs-events-to-bypass-all-filtering.patch es-input-allow-certain-ev_abs-events-to-bypass-all-filtering-fix.patch input-add-a-detailed-multi-touch-finger-data-report-protocol-rev2.patch input-keyboard-hilkbdc-fix-crash-when-removing-hilkbd-module.patch drivers-input-serio-hp_sdcc-fix-crash-when-removing-hp_sdc-module.patch ads7846-pin-change-interrupt-support.patch
tags-fix-config-symbols-generation.patch dmar-fix-endless-unknown-dmar-structure-type-loop.patch sm501-fix-section-mismatches.patch mfd-improve-diagnostics-for-wm8350-id-register-probe.patch ricoh_mmc-use-suspend-resume_noirq-v2.patch
mmc-s3cmci-fix-hangup-in-do_pio_write.patch mmc-fixes-and-enhancements-for-the-mmc-spi-driver.patch mmc-fixes-and-enhancements-for-the-mmc-spi-driver-fix.patch mmc-add-modalias-linkage-for-mmc-sd-devices.patch mmc-add-extended-csd-as-a-device-attribute.patch mmc-add-extended-csd-as-a-device-attribute-update.patch blackfin-nfc-driver-do-not-clobber-dmac1_perimux.patch blackfin-nfc-driver-mark-bf5xx_nand_add_partition-as-__devinit.patch blackfin-nfc-driver-drop-pointless-casts-with-set_dma_callback.patch jffs2-force-the-jffs2-gc-daemon-to-behave-a-bit-better.patch mtd-txx9-add-ndfmc-support.patch
mtd-rbtx4939-add-mtd-support.patch
mtd-rbtx4939-add-mtd-support-fix.patch mtd-txx9-soc-nand-flash-memory-controller-driver.patch
mtd-rbtx4939-map-driver.patch
sfc-modify-allocation-error-message.patch forcedeth-fix-mac-address-detection-on-network-card-regression-in-2623.patch forcedeth-mgmt-unit-interface-changes.patch e1000e-make-e1000e-default-to-the-same-kconfig-setting-as-e1000.patch 3x59x-fix-pci-resource-management.patch gpio_free-might-sleep-blackfin-architecture.patch ext4-allocate-s_blockgroup_lock-separately.patch ext4-dont-inherit-inappropriate-inode-flags-from-parent.patch ext4-tighten-restrictions-on-inode-flags.patch
sunrpc-fix-rdma-dependency.patch fakephp-allocate-pci-resources-before-adding-the-device.patch pci-quirks-unhide-overflow-device-on-i828675p-pe-chipsets.patch pci-quirks-hp-hides-smbus-controller-in-compaq-nx9500-laptops.patch sysrq-include-interrupth-instead-of-irqh.patch irq-free-setup_irq-interrupt-using-free_irq.patch
if-0-ses_match_host.patch
scsi-replace-__inline-with-inline.patch
mpt-remove-unused-struct-mpt_proc_entry_t.patch scsi-use-the-common-hex_asc-array-rather-than-a-private-one.patch drivers-scsi-a2091c-make-2-functions-static.patch drivers-scsi-a3000c-make-2-functions-static.patch scsi-gdthc-use-unaligned-access-helpers.patch scsi-annotate-gdth_rdcap_data-gdth_rdcap16_data-endianness.patch esp-fix-section-mismatch-warning.patch sg_io-dont-perform-unneeded-copy-in-compat-code.patch scsi-mpt-suppress-debugobjects-warning.patch
paride-pgc-xs-confusion.patch
radio-si470x-add-usb-id-for-dealextreme-usb-radio.patch usb-another-unusual_devs-entry-for-another-bad-argosy-storage-device.patch usb-kill-prehistorical-comments-about-usb_ehci_hcd.patch usb-fsl_qe_udc-fix-oops-on-qe-udc-probe-failure.patch usb-fsl_qe_udc-fix-recursive-locking-bug-in-ch9getstatus.patch usb-fsl_qe_udc-fix-qe-usb-controller-initialization.patch usb-fsl_qe_udc-fix-disconnects-reporting-during-bus-reset.patch usb-fsl_qe_udc-fix-muram-corruption-by-disabled-endpoints.patch usb-fsl_qe_udc-fix-stalled-tx-requests-bug.patch vfs-fix-vfs_rename_dir-for-fs_rename_does_d_move-filesystems.patch raw-fix-rawctl-compat-ioctls-breakage-on-amd64-and-itanic.patch vfs-update-fsh-to-use-inline-functions-when-no-file-locking-set.patch vfs-further-changes-from-macro-to-inline-function-in-fsh.patch virtio-fix-bad_ring-start_us-and-end_use-macros.patch proc-tty-add-struct-tty_operations-proc_fops.patch proc-tty-switch-cyclades-to-proc_fops.patch
proc-tty-switch-ip2-to-proc_fops.patch
proc-tty-switch-istallion-to-proc_fops.patch proc-tty-switch-synclink_cs-to-proc_fops.patch proc-tty-switch-stallion-to-proc_fops.patch
proc-tty-switch-synclink-to-proc_fops.patch proc-tty-switch-synclink_gt-to-proc_fops.patch proc-tty-switch-synclinkmp-to-proc_fops.patch proc-tty-switch-sdio_uart-to-proc_fops.patch proc-tty-switch-serial_core-to-proc_fops.patch proc-tty-switch-usb-serial-to-proc_fops.patch
proc-tty-switch-ircomm-to-proc_fops.patch
proc-tty-switch-amiserial-to-proc_fops.patch proc-tty-switch-ia64-simserial-to-proc_fops.patch proc-tty-switch-xtensa-iss-console-to-proc_fops.patch proc-tty-remove-struct-tty_operations-read_proc.patch
mm.patch
migration-migrate_vmas-should-check-vma.patch rtc-update-maintainership-of-pxa-rtc-driver.patch lxfb-properly-alloc-cmap-in-all-cases-and-dont-leak-the-memory.patch gxfb-properly-alloc-cmap-and-plug-cmap-leak.patch gx1fb-properly-alloc-cmap-and-plug-cmap-leak.patch rtc-add-ds1685-ds1687-rtc-driver.patch
ext2-add-blk_issue_flush-to-syncing-paths.patch
max3100-spi-uart-driver.patch
scsi-dpt_i2o-is-bust-on-ia64.patch
acpi-kconfig-fix-acpi_container-module-name.patch acpi-dock-dont-eval-_sta-on-every-show_docked-sysfs-read.patch arm-at91-fix-nr_aic_irqs-undeclared.patch
drivers-ata-sata_silc-needs-dmih.patch
pata_amd-program-fifo.patch pata_legacy-for-vlb-32bit-pio-dont-try-tricks-with-slop.patch mfd-initialise-wm8350-interrupts-earlier.patch mfd-mark-wm835x-usb_slv_500ma-bit-as-accessible.patch mfd-pcf50633-terminate-i2c_device_id-list.patch mtd-physmap-fix-wrong-free-and-del_mtd_partitiondevice.patch net-dont-use-in_atomic-in-gfp_any.patch documentation-connector-cn_testc-dont-use-gfp_any.patch nommu-fix-a-number-of-issues-with-the-per-mm-vma-patch.patch powerpc-fix-code-for-reserved-memory-spanning-across-nodes.patch atmel_serial-might-lose-modem-status-change.patch pipe_rdwr_fasync-fix-the-error-handling-to-prevent-the-leak-crash.patch xfs-dont-reallocate-sxp-variable-passed-into-xfs_swapext.patch xtensa-fix-compilation-somewhat.patch mm-mminit_validate_memmodel_limits-get-rid-of-redundant-test.patch vmap-remove-needless-lock-and-list-in-vmap.patch
oom_kill-dont-call-for-int_sqrt0.patch
page_fault-retry-with-nopage_retry.patch
page_fault-retry-with-nopage_retry-fix.patch page_fault-retry-with-nopage_retry-fix-fix.patch radix-tree-gang-set-if-tagged-operation.patch
mm-shmemc-fix-division-by-zero.patch
mm-fix-pdflush-thread-creation-upper-bound.patch mm-add-proc-controls-for-pdflush-threads.patch mm-add-proc-controls-for-pdflush-threads-fix.patch mm-add-proc-controls-for-pdflush-threads-fix-fix.patch get_mm_hiwater_xxx-trivial-s-define-inline.patch
mm-get_nid_for_pfn-returns-int.patch
mm-unify-some-pmd_-functions.patch
mm-unify-some-pmd_-functions-fix.patch mm-unify-some-pmd_-functions-fix-for-m68k-sun3.patch proc-pid-maps-dont-show-pgoff-of-pure-anon-vmas.patch proc-pid-maps-dont-show-pgoff-of-pure-anon-vmas-checkpatch-fixes.patch alpha-fix-macros.patch
loop-add-ioctl-to-resize-a-loop-device.patch loop-add-ioctl-to-resize-a-loop-device-security-check-for-loop_set_capacity.patch loop-add-ioctl-to-resize-a-loop-device-loop_set_capacity-sector_t-may-be-narrow-for-bit-shfit.patch lib-rbtreec-optimize-rb_erase.patch filesystem-freeze-allow-sysrq-emergency-thaw-to-thaw-frozen-filesystems.patch getrusage-fill-ru_maxrss-value.patch
softirq-introduce-statistics-for-softirq.patch proc-export-statistics-for-softirq-to-proc.patch proc-export-statistics-for-softirq-to-proc-fix.patch proc-update-document-for-proc-softirqs-and-proc-stat.patch checkpatch-make-in_atomic-ok-in-the-core.patch checkpatch-do-not-warn-about-p0-patches-when-checking-files.patch checkpatch-correctly-handle-type-spacing-in-the-face-of-modifiers.patch checkpatch-pointer-type-star-may-have-modifiers-following.patch checkpatch-a-modifier-is-not-an-identifier-at-the-end-of-a-type.patch checkpatch-extend-attribute-testing-to-all-modifiers.patch checkpatch-add-__ref-as-a-sparse-modifier.patch
checkpatch-version-028.patch
epoll-fix-own-poll.patch
epoll-fix-epolls-own-poll-update.patch
epoll-remove-debugging-code.patch
hp-accelerometer-add-freefall-detection.patch pci-use-pci_ioremap_bar-in-drivers-serial.patch
spi_mpc83xx-fix-sparse-warnings.patch
spi_mpc83xx-rework-chip-selects-handling.patch spi_mpc83xx-add-of-platform-driver-bindings.patch powerpc-add-mmc-spi-slot-bindings.patch powerpc-83xx-add-mmc-spi-support-via-the-device-tree-for-mpc8323e-rdb.patch powerpc-fsl_soc-isolate-legacy-fsl_spi-support-to-mpc832x_rdb-boards.patch kprobes-cleanup-aggr_kprobe-related-code.patch kprobes-move-export_symbol_gpl-just-after-function-definitions.patch kprobes-cleanup-comment-style-in-kprobesh.patch kprobes-rename-kprobe_enabled-to-kprobes_all_disarmed.patch kprobes-support-per-kprobe-disabling.patch kprobes-support-kretprobe-and-jprobe-per-probe-disabling.patch nfs-nfs-and-nfsd-should-depend-upon-config_file_locking.patch rtc-convert-wm8350-use-new-alarm-and-update-operations.patch rtc-convert-leap_year-into-an-inline.patch
rtc-add-platform-driver-for-efi.patch
rtc-add-platform-driver-for-efi-fix.patch rtc-parisc-add-a-missing-include-for-linux-rtch.patch rtc-parisc-remove-redundant-locking.patch
rtc-parisc-remove-struct-parisc_rtc.patch rtc-parisc-use-rtc_valid_tm-in-parisc_get_time.patch rtc-parisc-use-platform_driver_probe.patch rtc-parisc-declare-rtc_parisc_dev-as-static.patch rtc-parisc-remove-unnecessary-ret-variable.patch rtc-parisc-remove-a-couple-unnecessary-variables.patch rtc-parisc-rename-p-pointer-to-rtc.patch
rtc-ds1307-true-smbus-compatibility.patch rtc-add-epson-rx8025-support-to-ds1307-rtc-driver.patch rtc-wm8350-retries-will-reach-1.patch
gpiolib-allow-gpios-to-be-named.patch
drivers-video-uvesafbc-dont-use-gfp_any.patch
intelfb-support-i854.patch
pnpbios-fix-warning-if-no-hotplug.patch
pnpbios-propagate-kthread_run-error.patch
ext3-remove-the-bkl-in-ext3-ioctlc.patch jbd-fix-oops-in-jbd_journal_init_inode-on-corrupted-fs.patch hfsplus-identify-journal-info-block-in-volume-header.patch hfsplus-fix-journal-detection.patch
ufs-sector_t-cannot-be-negative.patch ufs-validate-maximum-fast-symlink-size-from-superblock.patch ufs-dont-truncate-longer-ufs2-fast-symlinks.patch ufs-ensure-fast-symlinks-are-nul-terminated.patch ufs-copy-symlink-data-into-the-correct-union-member.patch documentation-ignore-byproducts-from-latex.patch
cgroups-fix-cgrouph-comments.patch relax-ns_can_attach-checks-to-allow-attaching-to-grandchild-cgroups.patch cpuset-fix-allocating-page-cache-slab-object-on-the-unallowed-node-when-memory-spread-is-set.patch cpuset-fix-allocating-page-cache-slab-object-on-the-unallowed-node-when-memory-spread-is-set-fix-2.patch ptrace-kill-__ptrace_detach-fix-exit_state-check.patch ptrace-simplify-ptrace_exit-ignoring_children-path.patch ptrace-simplify-ptrace_exit-ignoring_children-pathpatch-fix.patch ptrace-reintroduce-__ptrace_detach-as-a-callee-of-ptrace_exit.patch ptrace-reintroduce-__ptrace_detach-as-a-callee-of-ptrace_exit-fix.patch ptrace-fix-possible-zombie-leak-on-ptrace_detach.patch reparent_thread-dont-call-kill_orphaned_pgrp-if-task_detached.patch reparent_thread-fix-the-is-it-traced-check.patch reparent_thread-fix-a-zombie-leak-if-sbin-init-ignores-sigchld.patch forget_original_parent-cleanup-ptrace-pathes.patch kthread-dont-looking-for-a-task-in-create_kthread-2.patch kthreads-move-sched-realeted-initialization-from-kthreadd-context.patch kthreads-simplify-the-startup-synchronization.patch
kthreads-rework-kthread_stop.patch
kthreads-simplify-migration_thread-exit-path.patch
make-shm_get_stat-more-robust.patch bin_elf_fdpic-check-the-return-value-of-clear_user.patch struct-linux_binprm-drop-unused-fields.patch pids-document-task_pgrp-task_session-is-not-safe-without-tasklist-rcu.patch pids-document-task_pgrp-task_session-is-not-safe-without-tasklist-rcu-fix.patch pids-improve-get_task_pid-to-fix-the-unsafe-sys_wait4-task_pgrp.patch pids-refactor-vnr-nr_ns-helpers-to-make-them-safe.patch pids-kill-now-unused-signal_struct-__pgrp-__session-and-friends.patch nbd-add-locking-to-nbd_ioctl.patch
nbd-add-locking-to-nbd_ioctl-checkpatch-fixes.patch
nbd-trivial-cleanups.patch
futex-comment-requeue-key-reference-semantics.patch
relay-reset-consumed.patch
trace-code-and-documentation.patch trace-code-and-documentation-merging-documentation-tracetxt-with-documentation-filesystems-relaytxt.patch trace-sample.patch
edac-add-more-verbose-debug-info.patch
edac-remove-edacs-experimental-status.patch
edac-new-ppc4xx-driver-module.patch kexec-add-dmesg-log-symbols-to-proc-vmcoreinfo-lists.patch kexec-add-dmesg-log-symbols-to-proc-vmcoreinfo-lists-fix.patch kexec-add-dmesg-log-symbols-to-proc-vmcoreinfo-lists-fix-fix.patch sgi-gru-exclude-uv-definitions-on-32-bit-x86.patch sgi-gru-add-definitions-of-x86_64-gru-mmrs.patch sgi-gru-add-definitions-of-ia64-gru-mmrs.patch sgi-gru-add-macros-for-using-the-uv-hub-to-send-interrupts.patch sgi-gru-misc-gru-cleanup.patch sgi-gru-improvements-to-gru-debug-messages-statistics.patch sgi-gru-change-gru-cch-commands-from-inline-functions-to-outofline-functions.patch sgi-gru-add-statistics-to-the-gru-context-management-functions.patch sgi-gru-add-support-for-a-user-to-explicitly-unload-a-gru-context.patch sgi-gru-asid-context-management-bug-fixes.patch sgi-gru-restructure-the-gru-vtop-functions.patch sgi-gru-add-support-to-the-gru-driver-for-message-queue-interrupts.patch sgi-gru-macro-for-scanning-all-gru-chiplets.patch sgi-gru-fix-bugs-related-to-module-unload-of-the-gru-driver.patch sgi-gru-support-multiple-pagesizes-in-gru.patch
synchronize-device-shutdown.patch
serios-async-shutdown.patch
sd-async-shutdown.patch
linuxpps-core-support.patch linuxpps-core-support-sysfs-not-needed-variables-removed.patch pps-userland-header-file-for-pps-api.patch
pps-documentation-programs-and-examples.patch
pps-linuxpps-clients-support.patch ldisc-new-dcd_change-method-for-line-disciplines.patch pps-parallel-port-clients-support.patch factor-out-ifdefs-from-kernel-spinlockc-to-lock_contended_flags.patch allow-rwlocks-to-re-enable-interrupts.patch ia64-implement-interrupt-enabling-rwlocks.patch
fs-adfs-return-f_fsid-for-statfs2.patch
fs-affs-return-f_fsid-for-statfs2.patch
fs-befs-return-f_fsid-for-statfs2.patch
fs-cramfs-return-f_fsid-for-statfs2.patch
fs-efs-return-f_fsid-for-statfs2.patch
fs-fat-return-f_fsid-for-statfs2.patch
fs-hfs-return-f_fsid-for-statfs2.patch
fs-hfsplus-return-f_fsid-for-statfs2.patch
fs-hpfs-return-f_fsid-for-statfs2.patch
fs-isofs-return-f_fsid-for-statfs2.patch
fs-jfs-return-f_fsid-for-statfs2.patch
fs-jfs-return-f_fsid-for-statfs2-v3.patch
fs-minix-return-f_fsid-for-statfs2.patch
fs-omfs-return-f_fsid-for-statfs2.patch
fs-qnx4-return-f_fsid-for-statfs2.patch
fs-reiserfs-return-f_fsid-for-statfs2.patch fs-reiserfs-return-f_fsid-for-statfs2-v2.patch
fs-romfs-return-f_fsid-for-statfs2.patch
fs-squashfs-return-f_fsid-for-statfs2.patch
fs-sysv-return-f_fsid-for-statfs2.patch
fs-udf-return-f_fsid-for-statfs2.patch
fs-ufs-return-f_fsid-for-statfs2.patch
nilfs2-add-document.patch
nilfs2-disk-format-and-userland-interface.patch nilfs2-add-inode-and-other-major-structures.patch
nilfs2-integrated-block-mapping.patch nilfs2-integrated-block-mapping-remove-nilfs-bmap-wrapper-macros.patch nilfs2-integrated-block-mapping-remove-nilfs-bmap-wrapper-macros-checkpatch-fixes.patch nilfs2-b-tree-based-block-mapping.patch
nilfs2-direct-block-mapping.patch
nilfs2-b-tree-node-cache.patch
nilfs2-buffer-and-page-operations.patch
nilfs2-meta-data-file.patch
nilfs2-persistent-object-allocator.patch
nilfs2-disk-address-translator.patch
nilfs2-inode-map-file.patch
nilfs2-checkpoint-file.patch
nilfs2-segment-usage-file.patch
nilfs2-inode-operations.patch
nilfs2-inode-operations-fix.patch
nilfs2-file-operations.patch
nilfs2-directory-entry-operations.patch
nilfs2-pathname-operations.patch
nilfs2-pathname-operations-fix.patch
nilfs2-operations-for-the_nilfs-core-object.patch
nilfs2-super-block-operations.patch
nilfs2-super-block-operations-fix.patch
nilfs2-segment-buffer.patch
nilfs2-segment-constructor.patch nilfs2-segment-constructor-insert-checks-and-hole-block-allocation-in-page_mkwrite.patch nilfs2-fix-miss-sync-issue-for-do_sync_mapping_range.patch nilfs2-recovery-functions.patch
nilfs2-another-dat-for-garbage-collection.patch nilfs2-block-cache-for-garbage-collection.patch
nilfs2-ioctl-operations.patch
nilfs2-update-makefile-and-kconfig.patch nilfs2-fix-problems-of-memory-allocation-in-ioctl.patch nilfs2-cleanup-nilfs_clear_inode.patch nilfs2-avoid-double-error-caused-by-nilfs_transaction_end.patch nilfs2-insert-explanations-in-gcinode-file.patch
nilfs2-add-maintainer.patch nilfs2-fix-gc-failure-on-volumes-keeping-numerous-snapshots.patch nilfs2-clean-up-indirect-function-calling-conventions.patch reiser4-vfs-add-super_operationssync_inodes-2.patch reiser4-export-remove_from_page_cache.patch
reiser4-export-find_get_pages.patch
reiser4.patch
reiser4-adjust-to-the-new-aops.patch
reiser4-adjust-to-the-new-aops-fixup.patch reiser4-remove-simple_prepare_write-usage.patch reiser4-remove-simple_prepare_write-usage-checkpatch-fixes.patch fs-symlink-write_begin-allocation-context-fix-reiser4-fix.patch reiser4-handling-error-returned-by-d_obtain_alias-fixup.patch make-sure-nobodys-leaking-resources.patch
journal_add_journal_head-debug.patch
releasing-resources-with-children.patch
make-frame_pointer-default=y.patch
mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch
add-debugging-aid-for-memory-initialisation-problems.patch shrink_slab-handle-bad-shrinkers.patch
keep-track-of-network-interface-renaming.patch
workaround-for-a-pci-restoring-bug.patch
prio_tree-debugging-patch.patch
single_open-seq_release-leak-diagnostics.patch
add-a-refcount-check-in-dput.patch
getblk-handle-2tb-devices.patch
getblk-handle-2tb-devices-fix.patch
undeprecate-pci_find_device.patch
notify_change-callers-must-hold-i_mutex.patch drivers-net-bonding-bond_sysfsc-suppress-uninitialized-var-warning.patch w1-build-fix.patch
Re: mmotm 2009-01-31-01-08 uploaded (staging vs. mach64: CONFIG_PANEL)
Quoted 7 lines · [email protected] wrote:
The mm-of-the-moment snapshot 2009-01-31-01-08 has been uploaded to
http://userweb.kernel.org/~akpm/mmotm/
and will soon be available at
git://git.zen-sources.org/zen/mmotm.git
drivers/staging/panel/Kconfig: config PANEL
vs. include/video/mach64.h: #define CONFIG_PANEL 0x00
When staging's CONFIG_PANEL=y (is enabled), the mach64.h header file gets lots of these:
include/video/mach64.h:1257:1: warning: "CONFIG_PANEL" redefined
so staging adds a new config symbol that conflicts with the (incorrect namespace) usage in mach64.h.
mach64 needs to change IMO, even though it is older.
Signature · 1 line
~Randy
Re: mmotm 2009-01-31-01-08 uploaded (staging vs. mach64: CONFIG_PANEL)
Quoted 17 lines · On Sat, 31 Jan 2009 11:53:36 -0800 Randy Dunlap <[email protected]> wrote:
Quoted 7 lines · [email protected] wrote:
The mm-of-the-moment snapshot 2009-01-31-01-08 has been uploaded to
http://userweb.kernel.org/~akpm/mmotm/
and will soon be available at
git://git.zen-sources.org/zen/mmotm.git
drivers/staging/panel/Kconfig: config PANEL
vs.include/video/mach64.h: #defineCONFIG_PANEL0x00When staging's
CONFIG_PANEL=y(is enabled), themach64.hheader file gets lots of these:
Quoted 7 lines
include/video/mach64.h:1257:1: warning: "CONFIG_PANEL" redefinedso staging adds a new config symbol that conflicts with the (incorrect namespace) usage in
mach64.h.mach64 needs to change IMO, even though it is older.
Sigh, yes, that file has gone on a rampage through the namespace rules. I'll take a look at it sometime.
PATCH 1/2 atyfb: fix CONFIG_ namespace violations
Quoted 10 lines · On Sat, 31 Jan 2009 12:10:08 -0800 Andrew Morton wrote:
Quoted 4 lines · On Sat, 31 Jan 2009 11:53:36 -0800 Randy Dunlap <[email protected]> wrote:
so staging adds a new config symbol that conflicts with the (incorrect namespace) usage in
mach64.h.mach64 needs to change IMO, even though it is older.
Sigh, yes, that file has gone on a rampage through the namespace rules. I'll take a look at it sometime.
--
I went ahead with a minimal set of changes, but you can toss them and do more if you prefer.
---
From: Randy Dunlap <[email protected]>
[1/2] Fix namespace violations by changing non-kconfig CONFIG_ names to CNFG_*.
--- drivers/video/aty/aty128fb.c | 8 ++++---- drivers/video/aty/atyfb_base.c | 22 +++++++++++----------- drivers/video/aty/radeon_base.c | 10 +++++----- drivers/video/aty/radeon_pm.c | 18 +++++++++--------- include/video/aty128.h | 4 ++-- include/video/mach64.h | 24 ++++++++++++------------ include/video/radeon.h | 18 +++++++++--------- 7 files changed, 52 insertions(+), 52 deletions(-)
drivers/video/aty/atyfb_base.c +11 -11
@@ -135,7 +135,7 @@#if defined(CONFIG_PM ) || defined(CONFIG_PMAC_BACKLIGHT ) || \ defined (CONFIG_FB_ATY_GENERIC_LCD ) || defined(CONFIG_FB_ATY_BACKLIGHT )static const u32 lt_lcd_regs[] = { -CONFIG_PANEL_LG , +CNFG_PANEL_LG ,LCD_GEN_CNTL_LG ,DSTN_CONTROL_LG , HFB_PITCH_ADDR_LG,
@@ -446,7 +446,7 @@ static int __devinit correct_chipset(str par->pll_limits.ecp_max = aty_chips[i].ecp_max; par->features = aty_chips[i].features; - chip_id =aty_ld_le32 (CONFIG_CHIP_ID , par); + chip_id =aty_ld_le32 (CNFG_CHIP_ID , par); type = chip_id &CFG_CHIP_TYPE ; rev = (chip_id &CFG_CHIP_REV ) >>24 ;
@@ -629,7 +629,7 @@ static void aty_get_crtc(const struct at crtc->lcd_index =aty_ld_le32 (LCD_INDEX , par);aty_st_le32 (LCD_INDEX , crtc->lcd_index, par); } - crtc->lcd_config_panel =aty_ld_lcd (CONFIG_PANEL , par); + crtc->lcd_config_panel =aty_ld_lcd (CNFG_PANEL , par); crtc->lcd_gen_cntl =aty_ld_lcd (LCD_GEN_CNTL , par);
@@ -676,7 +676,7 @@ static void aty_set_crtc(const struct ataty_st_le32 (CRTC_GEN_CNTL , crtc->gen_cntl & ~(CRTC_EXT_DISP_EN |CRTC_EN ), par);/* update non-shadow registers first */ -aty_st_lcd (CONFIG_PANEL , crtc->lcd_config_panel, par); +aty_st_lcd (CNFG_PANEL , crtc->lcd_config_panel, par);aty_st_lcd (LCD_GEN_CNTL , crtc->lcd_gen_cntl & ~(CRTC_RW_SELECT |SHADOW_EN |SHADOW_RW_EN ), par);
@@ -858,7 +858,7 @@ static int aty_var_to_crtc(const structif (!M64_HAS (MOBIL_BUS )) crtc->lcd_index |=CRTC2_DISPLAY_DIS ; - crtc->lcd_config_panel =aty_ld_lcd (CONFIG_PANEL , par) |0x4000 ; + crtc->lcd_config_panel =aty_ld_lcd (CNFG_PANEL , par) |0x4000 ; crtc->lcd_gen_cntl =aty_ld_lcd (LCD_GEN_CNTL , par) & ~CRTC_RW_SELECT ; crtc->lcd_gen_cntl &=
@@ -2254,7 +2254,7 @@ static int __devinit aty_init(struct fb_if (!M64_HAS (INTEGRATED )) {u32 stat0;u8 dac_type, dac_subtype, clk_type; - stat0 =aty_ld_le32 (CONFIG_STAT0 , par); + stat0 =aty_ld_le32 (CNFG_STAT0 , par); par->bus_type = (stat0 >>0 ) &0x07 ; par->ram_type = (stat0 >>3 ) &0x07 ; ramname = aty_gx_ram[par->ram_type];
@@ -2324,7 +2324,7 @@ static int __devinit aty_init(struct fb_ par->dac_ops = &aty_dac_ct; par->pll_ops = &aty_pll_ct; par->bus_type =PCI ; - par->ram_type = (aty_ld_le32 (CONFIG_STAT0 , par) &0x07 ); + par->ram_type = (aty_ld_le32 (CNFG_STAT0 , par) &0x07 ); ramname = aty_ct_ram[par->ram_type];/* for many chips, the mclk is 67 MHz for SDRAM, 63 MHz otherwise */ if (par->pll_limits.mclk ==67 && par->ram_type <SDRAM )
@@ -2433,7 +2433,7 @@ static int __devinit aty_init(struct fb_ }if (M64_HAS (MAGIC_VRAM_SIZE )) { -if (aty_ld_le32 (CONFIG_STAT1 , par) &0x40000000 ) +if (aty_ld_le32 (CNFG_STAT1 , par) &0x40000000 ) info->fix.smem_len +=0x400000 ; }
@@ -2946,7 +2946,7 @@ static int __devinit atyfb_setup_sparc(s* Fix PROMs idea of MEM_CNTL settings... */ mem =aty_ld_le32 (MEM_CNTL , par); - chip_id =aty_ld_le32 (CONFIG_CHIP_ID , par); + chip_id =aty_ld_le32 (CNFG_CHIP_ID , par);if (((chip_id &CFG_CHIP_TYPE ) ==VT_CHIP_ID ) && !((chip_id >>24 ) &1 )) {switch (mem &0x0f ) {case 3 :
@@ -2964,7 +2964,7 @@ static int __devinit atyfb_setup_sparc(sdefault :break ; } -if ((aty_ld_le32 (CONFIG_STAT0 , par) &7 ) >=SDRAM ) +if ((aty_ld_le32 (CNFG_STAT0 , par) &7 ) >=SDRAM ) mem &= ~(0x00700000 ); } mem &= ~(0xcf80e000 );/* Turn off all undocumented bits. */
@@ -3572,7 +3572,7 @@ static int __init atyfb_atari_probe(void }/* Fake pci_id for correct_chipset() */ -switch (aty_ld_le32 (CONFIG_CHIP_ID , par) &CFG_CHIP_TYPE ) { +switch (aty_ld_le32 (CNFG_CHIP_ID , par) &CFG_CHIP_TYPE ) {case 0x00d7 : par->pci_id =PCI_CHIP_MACH64GX ;break ;
include/video/mach64.h +12 -12
@@ -103,7 +103,7 @@#define CUR_HORZ_VERT_OFF 0x0070/* Dword offset 0_1C */ #define CUR2_HORZ_VERT_OFF 0x0070/* Dword offset 0_1C */ -#define CONFIG_PANEL_LG 0x0074/* Dword offset 0_1D (LG) */ +#define CNFG_PANEL_LG 0x0074/* Dword offset 0_1D (LG) */ /* General I/O Control */ #define GP_IO 0x0078/* Dword offset 0_1E */
@@ -146,8 +146,8 @@#define CLOCK_SEL_CNTL 0x0090/* Dword offset 0_24 */ /* Configuration */ -#define CONFIG_STAT1 0x0094/* Dword offset 0_25 */ -#define CONFIG_STAT2 0x0098/* Dword offset 0_26 */ +#define CNFG_STAT1 0x0094/* Dword offset 0_25 */ +#define CNFG_STAT2 0x0098/* Dword offset 0_26 */ /* Bus Control */ #define BUS_CNTL 0x00A0/* Dword offset 0_28 */
@@ -190,9 +190,9 @@#define POWER_MANAGEMENT_LG 0x00D8/* Dword offset 0_36 (LG) */ /* Configuration */ -#define CONFIG_CNTL 0x00DC/* Dword offset 0_37 (CT, ET, VT) */ -#define CONFIG_CHIP_ID 0x00E0/* Dword offset 0_38 */ -#define CONFIG_STAT0 0x00E4/* Dword offset 0_39 */ +#define CNFG_CNTL 0x00DC/* Dword offset 0_37 (CT, ET, VT) */ +#define CNFG_CHIP_ID 0x00E0/* Dword offset 0_38 */ +#define CNFG_STAT0 0x00E4/* Dword offset 0_39 */ /* Test and Debug */ #define CRC_SIG 0x00E8/* Dword offset 0_3A */
@@ -851,17 +851,17 @@#define PLL_YCLK_CNTL 0x29#define PM_DYN_CLK_CNTL 0x2A -/* CONFIG_CNTL register constants */ +/* CNFG_CNTL register constants */ #define APERTURE_4M_ENABLE 1#define APERTURE_8M_ENABLE 2#define VGA_APERTURE_ENABLE 4 -/* CONFIG_STAT0 register constants (GX, CX) */ +/* CNFG_STAT0 register constants (GX, CX) */ #define CFG_BUS_TYPE 0x00000007#define CFG_MEM_TYPE 0x00000038#define CFG_INIT_DAC_TYPE 0x00000e00 -/* CONFIG_STAT0 register constants (CT, ET, VT) */ +/* CNFG_STAT0 register constants (CT, ET, VT) */ #define CFG_MEM_TYPE_xT 0x00000007#define ISA 0
@@ -942,7 +942,7 @@#define PCI_ATI_VENDOR_ID 0x1002 -/* CONFIG_CHIP_ID register constants */ +/* CNFG_CHIP_ID register constants */ #define CFG_CHIP_TYPE 0x0000FFFF#define CFG_CHIP_CLASS 0x00FF0000#define CFG_CHIP_REV 0xFF000000
@@ -951,7 +951,7 @@#define CFG_CHIP_MINOR 0xC0000000 -/* Chip IDs read from CONFIG_CHIP_ID */ +/* Chip IDs read from CNFG_CHIP_ID */ /* mach64GX family */ #define GX_CHIP_ID 0xD7/* mach64GX (ATI888GX00) */
@@ -1254,7 +1254,7 @@#define CRTC2_DISPLAY_DIS 0x00000400/* LCD register indices */ -#define CONFIG_PANEL 0x00 +#define CNFG_PANEL 0x00#define LCD_GEN_CNTL 0x01#define DSTN_CONTROL 0x02#define HFB_PITCH_ADDR 0x03
drivers/video/aty/aty128fb.c +4 -4
@@ -1475,7 +1475,7 @@ static int aty128fb_set_par(struct fb_inaty128_set_pll (&par->pll, par);aty128_set_fifo (&par->fifo_reg, par); - config =aty_ld_le32 (CONFIG_CNTL ) & ~3 ; + config =aty_ld_le32 (CNFG_CNTL ) & ~3 ;#if defined(__BIG_ENDIAN)if (par->crtc.bpp ==32 )
@@ -1484,7 +1484,7 @@ static int aty128fb_set_par(struct fb_in config |=1 ;/* make aperture do 16 bit swapping */ #endif -aty_st_le32 (CONFIG_CNTL , config); +aty_st_le32 (CNFG_CNTL , config);aty_st_8 (CRTC_EXT_CNTL +1 ,0 );/* turn the video back on */ info->fix.line_length = (par->crtc.vxres * par->crtc.bpp) >>3 ;
@@ -1875,7 +1875,7 @@ static int __devinit aty128_init(structu32 dac;/* Get the chip revision */ - chip_rev = (aty_ld_le32 (CONFIG_CNTL ) >>16 ) &0x1F ; + chip_rev = (aty_ld_le32 (CNFG_CNTL ) >>16 ) &0x1F ;strcpy (video_card,"Rage128 XX " ); video_card[8 ] = ent->device >>8 ;
@@ -2057,7 +2057,7 @@ static int __devinit aty128_probe(struct/* Grab memory size from the card */ // How does this relate to the resource length from the PCI hardware? - par->vram_size =aty_ld_le32 (CONFIG_MEMSIZE ) &0x03FFFFFF ; + par->vram_size =aty_ld_le32 (CNFG_MEMSIZE ) &0x03FFFFFF ;/* Virtualize the framebuffer */ info->screen_base =ioremap (fb_addr, par->vram_size);
include/video/aty128.h +2 -2
@@ -21,9 +21,9 @@#define I2C_CNTL_1 0x0094#define PALETTE_INDEX 0x00b0#define PALETTE_DATA 0x00b4 -#define CONFIG_CNTL 0x00e0 +#define CNFG_CNTL 0x00e0#define GEN_RESET_CNTL 0x00f0 -#define CONFIG_MEMSIZE 0x00f8 +#define CNFG_MEMSIZE 0x00f8#define MEM_CNTL 0x0140#define MEM_POWER_MISC 0x015c#define AGP_BASE 0x0170
drivers/video/aty/radeon_base.c +5 -5
@@ -1936,8 +1936,8 @@ static void fixup_memory_mappings(structOUTREG (CRTC_GEN_CNTL , save_crtc_gen_cntl |CRTC_DISP_REQ_EN_B );mdelay (100 ); - aper_base =INREG (CONFIG_APER_0_BASE ); - aper_size =INREG (CONFIG_APER_SIZE ); + aper_base =INREG (CNFG_APER_0_BASE ); + aper_size =INREG (CNFG_APER_SIZE );#ifdef SET_MC_FB_FROM_APERTURE /* Set framebuffer to be at the same address as set in PCI BAR */
@@ -2024,11 +2024,11 @@ static void radeon_identify_vram(struct ~CRTC_H_CUTOFF_ACTIVE_EN); } }else { - tmp =INREG (CONFIG_MEMSIZE ); + tmp =INREG (CNFG_MEMSIZE ); }/* mem size is bits [28:0], mask off the rest */ - rinfo->video_ram = tmp &CONFIG_MEMSIZE_MASK ; + rinfo->video_ram = tmp &CNFG_MEMSIZE_MASK ;/* * Hack to get around some busted production M6's
@@ -2228,7 +2228,7 @@ static int __devinit radeonfb_pci_regist*/ rinfo->errata =0 ;if (rinfo->family ==CHIP_FAMILY_R300 && - (INREG (CONFIG_CNTL ) &CFG_ATI_REV_ID_MASK ) + (INREG (CNFG_CNTL ) &CFG_ATI_REV_ID_MASK ) ==CFG_ATI_REV_A11 ) rinfo->errata |=CHIP_ERRATA_R300_CG ;
drivers/video/aty/radeon_pm.c +9 -9
@@ -333,7 +333,7 @@ static void radeon_pm_enable_dynamic_modif (!rinfo->has_CRTC2) { tmp =INPLL (pllSCLK_CNTL); -if ((INREG (CONFIG_CNTL ) &CFG_ATI_REV_ID_MASK ) >CFG_ATI_REV_A13 ) +if ((INREG (CNFG_CNTL ) &CFG_ATI_REV_ID_MASK ) >CFG_ATI_REV_A13 ) tmp &= ~(SCLK_CNTL__FORCE_CP |SCLK_CNTL__FORCE_RB ); tmp &= ~(SCLK_CNTL__FORCE_HDP | SCLK_CNTL__FORCE_DISP1 | SCLK_CNTL__FORCE_TOP | SCLK_CNTL__FORCE_SE |
@@ -468,9 +468,9 @@ static void radeon_pm_enable_dynamic_mod/*RAGE_6::A11 A12 A12N1 A13, RV250::A11 A12, R300*/ if ((rinfo->family ==CHIP_FAMILY_RV250 && - ((INREG (CONFIG_CNTL ) &CFG_ATI_REV_ID_MASK ) <CFG_ATI_REV_A13 )) || + ((INREG (CNFG_CNTL ) &CFG_ATI_REV_ID_MASK ) <CFG_ATI_REV_A13 )) || ((rinfo->family ==CHIP_FAMILY_RV100 ) && - ((INREG (CONFIG_CNTL ) &CFG_ATI_REV_ID_MASK ) <=CFG_ATI_REV_A13 ))) { + ((INREG (CNFG_CNTL ) &CFG_ATI_REV_ID_MASK ) <=CFG_ATI_REV_A13 ))) { tmp |=SCLK_CNTL__FORCE_CP ; tmp |=SCLK_CNTL__FORCE_VIP ; }
@@ -486,7 +486,7 @@ static void radeon_pm_enable_dynamic_mod/* RV200::A11 A12 RV250::A11 A12 */ if (((rinfo->family ==CHIP_FAMILY_RV200 ) || (rinfo->family ==CHIP_FAMILY_RV250 )) && - ((INREG (CONFIG_CNTL ) &CFG_ATI_REV_ID_MASK ) <CFG_ATI_REV_A13 )) + ((INREG (CNFG_CNTL ) &CFG_ATI_REV_ID_MASK ) <CFG_ATI_REV_A13 )) tmp |=SCLK_MORE_CNTL__FORCEON ;OUTPLL (pllSCLK_MORE_CNTL, tmp);
@@ -497,7 +497,7 @@ static void radeon_pm_enable_dynamic_mod/* RV200::A11 A12, RV250::A11 A12 */ if (((rinfo->family ==CHIP_FAMILY_RV200 ) || (rinfo->family ==CHIP_FAMILY_RV250 )) && - ((INREG (CONFIG_CNTL ) &CFG_ATI_REV_ID_MASK ) <CFG_ATI_REV_A13 )) { + ((INREG (CNFG_CNTL ) &CFG_ATI_REV_ID_MASK ) <CFG_ATI_REV_A13 )) { tmp =INPLL (pllPLL_PWRMGT_CNTL); tmp |=PLL_PWRMGT_CNTL__TCL_BYPASS_DISABLE ;OUTPLL (pllPLL_PWRMGT_CNTL, tmp);
@@ -702,7 +702,7 @@ static void radeon_pm_restore_regs(strucOUTREG (DISPLAY_BASE_ADDR , rinfo->save_regs[31 ]);OUTREG (MC_AGP_LOCATION , rinfo->save_regs[32 ]);OUTREG (CRTC2_DISPLAY_BASE_ADDR , rinfo->save_regs[33 ]); -OUTREG (CONFIG_MEMSIZE , rinfo->video_ram); +OUTREG (CNFG_MEMSIZE , rinfo->video_ram);OUTREG (DISP_MISC_CNTL , rinfo->save_regs[9 ]);OUTREG (DISP_PWR_MAN , rinfo->save_regs[10 ]);
@@ -1723,7 +1723,7 @@ static void radeon_reinitialize_M10(struOUTREG (CRTC2_DISPLAY_BASE_ADDR , rinfo->save_regs[33 ]);OUTREG (MC_FB_LOCATION , rinfo->save_regs[30 ]);OUTREG (OV0_BASE_ADDR , rinfo->save_regs[80 ]); -OUTREG (CONFIG_MEMSIZE , rinfo->video_ram); +OUTREG (CNFG_MEMSIZE , rinfo->video_ram);OUTREG (BUS_CNTL , rinfo->save_regs[36 ]);OUTREG (BUS_CNTL1 , rinfo->save_regs[14 ]);OUTREG (MPP_TB_CONFIG , rinfo->save_regs[37 ]);
@@ -1961,7 +1961,7 @@ static void radeon_pm_m9p_reconfigure_mcOUTMC (rinfo, ixMC_CHP_IO_CNTL_B1, rinfo->save_regs[68 ]/*0x141555ff*/ );OUTMC (rinfo, ixMC_IMP_CNTL_0, rinfo->save_regs[71 ]/*0x00009249*/ );OUTREG (MC_IND_INDEX ,0 ); -OUTREG (CONFIG_MEMSIZE , rinfo->video_ram); +OUTREG (CNFG_MEMSIZE , rinfo->video_ram);mdelay (20 ); }
@@ -2361,7 +2361,7 @@ static void radeon_reinitialize_QW(strucOUTMC (rinfo, ixMC_IMP_CNTL_0,0x00009249 );OUTREG (MC_IND_INDEX ,0 ); -OUTREG (CONFIG_MEMSIZE , rinfo->video_ram); +OUTREG (CNFG_MEMSIZE , rinfo->video_ram);radeon_pm_full_reset_sdram (rinfo);
include/video/radeon.h +9 -9
@@ -11,13 +11,13 @@#define HI_STAT 0x004C#define BUS_CNTL1 0x0034#define I2C_CNTL_1 0x0094 -#define CONFIG_CNTL 0x00E0 -#define CONFIG_MEMSIZE 0x00F8 -#define CONFIG_APER_0_BASE 0x0100 -#define CONFIG_APER_1_BASE 0x0104 -#define CONFIG_APER_SIZE 0x0108 -#define CONFIG_REG_1_BASE 0x010C -#define CONFIG_REG_APER_SIZE 0x0110 +#define CNFG_CNTL 0x00E0 +#define CNFG_MEMSIZE 0x00F8 +#define CNFG_APER_0_BASE 0x0100 +#define CNFG_APER_1_BASE 0x0104 +#define CNFG_APER_SIZE 0x0108 +#define CNFG_REG_1_BASE 0x010C +#define CNFG_REG_APER_SIZE 0x0110#define PAD_AGPINPUT_DELAY 0x0164#define PAD_CTLR_STRENGTH 0x0168#define PAD_CTLR_UPDATE 0x016C
@@ -509,7 +509,7 @@/* CLOCK_CNTL_INDEX bit constants */ #define PLL_WR_EN 0x00000080 -/* CONFIG_CNTL bit constants */ +/* CNFG_CNTL bit constants */ #define CFG_VGA_RAM_EN 0x00000100#define CFG_ATI_REV_ID_MASK (0xf << 16)#define CFG_ATI_REV_A11 (0 << 16)
@@ -980,7 +980,7 @@/* masks */ -#define CONFIG_MEMSIZE_MASK 0x1f000000 +#define CNFG_MEMSIZE_MASK 0x1f000000#define MEM_CFG_TYPE 0x40000000#define DST_OFFSET_MASK 0x003fffff#define DST_PITCH_MASK 0x3fc00000
Re: [Linux-fbdev-devel] [PATCH 1/2] atyfb: fix CONFIG_ namespace violations
Quoted 37 lines · Randy Dunlap
Quoted 10 lines · On Sat, 31 Jan 2009 12:10:08 -0800 Andrew Morton wrote:
Quoted 4 lines · On Sat, 31 Jan 2009 11:53:36 -0800 Randy Dunlap <[email protected]> wrote:
so staging adds a new config symbol that conflicts with the (incorrect namespace) usage in
mach64.h.mach64 needs to change IMO, even though it is older.
Sigh, yes, that file has gone on a rampage through the namespace rules. I'll take a look at it sometime.
--I went ahead with a minimal set of changes, but you can toss them and do more if you prefer.
---
From: Randy Dunlap <[email protected]>
[1/2] Fix namespace violations by changing non-kconfig
CONFIG_names to CNFG_*.Signed-off-by Randy Dunlap <[email protected]>cc Benjamin Herrenschmidt <[email protected]>--- drivers/video/aty/aty128fb.c | 8 ++++---- drivers/video/aty/atyfb_base.c | 22 +++++++++++----------- drivers/video/aty/radeon_base.c | 10 +++++----- drivers/video/aty/radeon_pm.c | 18 +++++++++--------- include/video/aty128.h | 4 ++-- include/video/mach64.h | 24 ++++++++++++------------ include/video/radeon.h | 18 +++++++++--------- 7 files changed, 52 insertions(+), 52 deletions(-)
drivers/video/aty/atyfb_base.c line 138
Quoted 5 lines
drivers/video/aty/atyfb_base.c +1
-1@@ -135,7 +135,7 @@#if defined(CONFIG_PM ) || defined(CONFIG_PMAC_BACKLIGHT ) || \ defined (CONFIG_FB_ATY_GENERIC_LCD ) || defined(CONFIG_FB_ATY_BACKLIGHT )static const u32 lt_lcd_regs[] = { - CONFIG_PANEL_LG, + CNFG_PANEL_LG,
These were the official names as used in the ATI docs. After these changes, you can no longer easily grep for them.
Perhaps it's better to prefix everything with ATI_? yes, I know it's more work (for the writer), but we want to optimize for the reader, right?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [Linux-fbdev-devel] [PATCH 1/2] atyfb: fix CONFIG_ namespace violations
Quoted 13 lines · Geert Uytterhoeven
drivers/video/aty/atyfb_base.c line 138
Quoted 8 lines · Randy Dunlap
drivers/video/aty/atyfb_base.c +1
-1@@ -135,7 +135,7 @@#if defined(CONFIG_PM ) || defined(CONFIG_PMAC_BACKLIGHT ) || \ defined (CONFIG_FB_ATY_GENERIC_LCD ) || defined(CONFIG_FB_ATY_BACKLIGHT )static const u32 lt_lcd_regs[] = { - CONFIG_PANEL_LG, + CNFG_PANEL_LG,These were the official names as used in the ATI docs. After these changes, you can no longer easily grep for them.
Quoted 2 lines
Perhaps it's better to prefix everything with
ATI_? yes, I know it's more work (for the writer), but we want to optimize for the reader, right?
That would be my preference as well.
Signature · 3 lines
Ville Syrjälä [email protected] http://www.sci.fi/~syrjala/
Re: [PATCH 1/2] atyfb: fix CONFIG_ namespace violations
Quoted 13 lines · Ville Syrjälä
Quoted 12 lines · Geert Uytterhoeven
drivers/video/aty/atyfb_base.c line 138
Quoted 8 lines · Randy Dunlap
drivers/video/aty/atyfb_base.c +1
-1@@ -135,7 +135,7 @@#if defined(CONFIG_PM ) || defined(CONFIG_PMAC_BACKLIGHT ) || \ defined (CONFIG_FB_ATY_GENERIC_LCD ) || defined(CONFIG_FB_ATY_BACKLIGHT )static const u32 lt_lcd_regs[] = { - CONFIG_PANEL_LG, + CNFG_PANEL_LG,These were the official names as used in the ATI docs. After these changes, you can no longer easily grep for them.
Quoted 2 lines
Quoted 2 lines
Perhaps it's better to prefix everything with
ATI_? yes, I know it's more work (for the writer), but we want to optimize for the reader, right?
Everything?? not just the CONFIG_* namespace violations?
[If so,] Potentially 3600 changes just in 3 header files, then all of the corresponding .c files. No thanks.
How about a note in the header files that explains that CONFIG_* register names are spelled as "CNFG_*" so that there are not kernel kconfig namespace conflicts?
Quoted 1 line
That would be my preference as well.
Care to do it?
Signature · 8 lines
~Randy ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
Re: [Linux-fbdev-devel] [PATCH 1/2] atyfb: fix CONFIG_ namespace violations
In reply to Ville SyrjäläQuoted 13 lines · Ville Syrjälä
Quoted 12 lines · Geert Uytterhoeven
drivers/video/aty/atyfb_base.c line 138
Quoted 8 lines · Randy Dunlap
drivers/video/aty/atyfb_base.c +1
-1@@ -135,7 +135,7 @@#if defined(CONFIG_PM ) || defined(CONFIG_PMAC_BACKLIGHT ) || \ defined (CONFIG_FB_ATY_GENERIC_LCD ) || defined(CONFIG_FB_ATY_BACKLIGHT )static const u32 lt_lcd_regs[] = { - CONFIG_PANEL_LG, + CNFG_PANEL_LG,These were the official names as used in the ATI docs. After these changes, you can no longer easily grep for them.
Quoted 2 lines
Quoted 2 lines
Perhaps it's better to prefix everything with
ATI_? yes, I know it's more work (for the writer), but we want to optimize for the reader, right?
Everything?? not just the CONFIG_* namespace violations?
[If so,] Potentially 3600 changes just in 3 header files, then all of the corresponding .c files. No thanks.
How about a note in the header files that explains that CONFIG_* register names are spelled as "CNFG_*" so that there are not kernel kconfig namespace conflicts?
Quoted 1 line
That would be my preference as well.
Care to do it?
Signature · 1 line
~Randy
Re: [Linux-fbdev-devel] [PATCH 1/2] atyfb: fix CONFIG_ namespace violations
Quoted 14 lines · Randy Dunlap
Quoted 13 lines · Ville Syrjälä
Quoted 12 lines · Geert Uytterhoeven
drivers/video/aty/atyfb_base.c line 138
Quoted 8 lines · Randy Dunlap
drivers/video/aty/atyfb_base.c +1
-1@@ -135,7 +135,7 @@#if defined(CONFIG_PM ) || defined(CONFIG_PMAC_BACKLIGHT ) || \ defined (CONFIG_FB_ATY_GENERIC_LCD ) || defined(CONFIG_FB_ATY_BACKLIGHT )static const u32 lt_lcd_regs[] = { - CONFIG_PANEL_LG, + CNFG_PANEL_LG,These were the official names as used in the ATI docs. After these changes, you can no longer easily grep for them.
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Perhaps it's better to prefix everything with
ATI_? yes, I know it's more work (for the writer), but we want to optimize for the reader, right?Everything?? not just the CONFIG_* namespace violations?
[If so,] Potentially 3600 changes just in 3 header files, then all of the corresponding .c files. No thanks.
That does seem quite a bit of work. But even if you change only the CONFIG_ violations I'd say adding a prefix is preferable to changing the register name in a way that makes it more difficult to look it up in the chip documentation.
Signature · 3 lines
Ville Syrjälä [email protected] http://www.sci.fi/~syrjala/
PATCH 2/2 atyfb: fix header file trailing whitespace
In reply to Andrew MortonFrom: Randy Dunlap <[email protected]>
[2/2] Fix trailing whitespace because quilt complained about it.
--- include/video/aty128.h | 2 include/video/radeon.h | 578 ++++++++++++++++++++++++------------------------- 2 files changed, 290 insertions(+), 290 deletions(-)
include/video/aty128.h +1 -1
@@ -415,7 +415,7 @@#define PWR_MGT_SLOWDOWN_MCLK 0x00002000#define PMI_PMSCR_REG 0x60 - +/* used by ATI bug fix for hardware ROM */ #define RAGE128_MPP_TB_CONFIG 0x01c0
include/video/radeon.h +289 -289
687 lines not on this page · raw message
PATCH 1/1 sysrq: emergency thaw only if CONFIG_BLOCK enabled
In reply to [email protected]From: Randy Dunlap <[email protected]>
sysrq's new emergency_thaw_all() is only available when CONFIG_BLOCK=y:
drivers/char/sysrq.c:351: error: implicit declaration of function 'emergency_thaw_all'
--- drivers/char/sysrq.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/char/sysrq.c +6 -0
@@ -346,6 +346,7 @@ static struct sysrq_key_op sysrq_moom_op .enable_mask = SYSRQ_ENABLE_SIGNAL, }; +#ifdef CONFIG_BLOCK static void sysrq_handle_thaw (int key,struct tty_struct *tty) {emergency_thaw_all ();
@@ -356,6 +357,7 @@ static struct sysrq_key_op sysrq_thaw_op .action_msg = "Emergency Thaw of all frozen filesystems", .enable_mask = SYSRQ_ENABLE_SIGNAL, }; +#endif static void sysrq_handle_kill (int key,struct tty_struct *tty) {
@@ -409,7 +411,11 @@ static struct sysrq_key_op *sysrq_key_taNULL ,/* g */ NULL ,/* h - reserved for help */ &sysrq_kill_op,/* i */ +#ifdef CONFIG_BLOCK &sysrq_thaw_op,/* j */ +#else +NULL ,/* j */ +#endif &sysrq_SAK_op,/* k */ #ifdef CONFIG_SMP &sysrq_showallcpus_op, /* l */
PATCH 1/1 UV: fix header struct usage
In reply to [email protected]From: Randy Dunlap <[email protected]>
Fix uv.h struct usage:
arch/x86/include/asm/uv/uv.h:16: warning: 'struct mm_struct' declared inside parameter list arch/x86/include/asm/uv/uv.h:16: warning: its scope is only this definition or declaration, which is probably not what you want
--- arch/x86/include/asm/uv/uv.h | 3 +++ 1 file changed, 3 insertions(+)
arch/x86/include/asm/uv/uv.h +3 -0
@@ -3,6 +3,9 @@enum uv_system_type {UV_NONE ,UV_LEGACY_APIC ,UV_X2APIC ,UV_NON_UNIQUE_APIC }; +struct cpumask ; +struct mm_struct ; +#ifdef CONFIG_X86_UV extern enum uv_system_type get_uv_system_type (void );