···522522523523config NUMA524524 bool "NUMA Support (EXPERIMENTAL)"525525- depends on DISCONTIGMEM525525+ depends on DISCONTIGMEM && BROKEN526526 help527527 Say Y to compile the kernel to support NUMA (Non-Uniform Memory528528 Access). This option is for configuring high-end multiprocessor
···310310311311config SMP312312 bool "Symmetric Multi-Processing (EXPERIMENTAL)"313313- depends on EXPERIMENTAL #&& n313313+ depends on EXPERIMENTAL && BROKEN #&& n314314 help315315 This enables support for systems with more than one CPU. If you have316316 a system with only one CPU, like most personal computers, say N. If
+1-1
arch/arm/kernel/traps.c
···617617 notify_die("unknown data abort code", regs, &info, instr, 0);618618}619619620620-volatile void __bug(const char *file, int line, void *data)620620+void __attribute__((noreturn)) __bug(const char *file, int line, void *data)621621{622622 printk(KERN_CRIT"kernel BUG at %s:%d!", file, line);623623 if (data)
···195195 wrmsr(MSR_P6_EVNTSEL0, 0, 0);196196 break;197197 case 15:198198- if (boot_cpu_data.x86_model > 0x3)198198+ if (boot_cpu_data.x86_model > 0x4)199199 break;200200201201 wrmsr(MSR_P4_IQ_CCCR0, 0, 0);···432432 setup_p6_watchdog();433433 break;434434 case 15:435435- if (boot_cpu_data.x86_model > 0x3)435435+ if (boot_cpu_data.x86_model > 0x4)436436 return;437437438438 if (!setup_p4_watchdog())
+6-4
arch/i386/kernel/traps.c
···803803 */804804 cwd = get_fpu_cwd(task);805805 swd = get_fpu_swd(task);806806- switch (((~cwd) & swd & 0x3f) | (swd & 0x240)) {806806+ switch (swd & ~cwd & 0x3f) {807807 case 0x000:808808 default:809809 break;810810 case 0x001: /* Invalid Op */811811- case 0x041: /* Stack Fault */812812- case 0x241: /* Stack Fault | Direction */811811+ /*812812+ * swd & 0x240 == 0x040: Stack Underflow813813+ * swd & 0x240 == 0x240: Stack Overflow814814+ * User must clear the SF bit (0x40) if set815815+ */813816 info.si_code = FPE_FLTINV;814814- /* Should we clear the SF or let user space do it ???? */815817 break;816818 case 0x002: /* Denormalize */817819 case 0x010: /* Underflow */
···323323 struct pci_controller *controller;324324 struct pcibus_bussoft *prom_bussoft_ptr;325325 struct hubdev_info *hubdev_info;326326- void *provider_soft;326326+ void *provider_soft = NULL;327327 struct sn_pcibus_provider *provider;328328329329 status = sal_get_pcibus_info((u64) segment, (u64) busnum,···339339 if (bus == NULL) {340340 bus = pci_scan_bus(busnum, &pci_root_ops, controller);341341 if (bus == NULL)342342- return; /* error, or bus already scanned */342342+ goto error_return; /* error, or bus already scanned */343343 bus->sysdata = NULL;344344 }345345···352352 */353353354354 if (prom_bussoft_ptr->bs_asic_type >= PCIIO_ASIC_MAX_TYPES)355355- return; /* unsupported asic type */355355+ goto error_return; /* unsupported asic type */356356357357 if (prom_bussoft_ptr->bs_asic_type == PCIIO_ASIC_TYPE_PPB)358358 goto error_return; /* no further fixup necessary */359359360360 provider = sn_pci_provider[prom_bussoft_ptr->bs_asic_type];361361 if (provider == NULL)362362- return; /* no provider registerd for this asic */362362+ goto error_return; /* no provider registerd for this asic */363363364364- provider_soft = NULL;364364+ bus->sysdata = controller;365365 if (provider->bus_fixup)366366 provider_soft = (*provider->bus_fixup) (prom_bussoft_ptr, controller);367367368368- if (provider_soft == NULL)369369- return; /* fixup failed or not applicable */368368+ if (provider_soft == NULL) {369369+ /* fixup failed or not applicable */370370+ bus->sysdata = NULL;371371+ goto error_return;372372+ }370373371374 /*372375 * Generic bus fixup goes here. Don't reference prom_bussoft_ptr373376 * after this point.374377 */375378376376- bus->sysdata = controller;377379 PCI_CONTROLLER(bus)->platform_data = provider_soft;378380 nasid = NASID_GET(SN_PCIBUS_BUSSOFT(bus)->bs_base);379381 cnode = nasid_to_cnodeid(nasid);
+2-1
arch/m32r/Kconfig
···269269# Common NUMA Features270270config NUMA271271 bool "Numa Memory Allocation Support"272272- depends on SMP272272+ depends on SMP && BROKEN273273 default n274274275275# turning this on wastes a bunch of space.···286286287287config PCI288288 bool "PCI support"289289+ depends on BROKEN289290 default n290291 help291292 Find out whether you have a PCI motherboard. PCI is the name of a
+1-1
arch/m32r/Kconfig.debug
···20202121config DEBUG_PAGEALLOC2222 bool "Page alloc debugging"2323- depends on DEBUG_KERNEL2323+ depends on DEBUG_KERNEL && BROKEN2424 help2525 Unmap pages from the kernel linear mapping after free_pages().2626 This results in a large slowdown, but helps to find certain types
+3-1
arch/m32r/kernel/setup_m32700ut.c
···3030typedef struct {3131 unsigned long icucr; /* ICU Control Register */3232} icu_data_t;3333+static icu_data_t icu_data[M32700UT_NUM_CPU_IRQ];3434+#else3535+icu_data_t icu_data[M32700UT_NUM_CPU_IRQ];3336#endif /* CONFIG_SMP */34373535-static icu_data_t icu_data[M32700UT_NUM_CPU_IRQ];36383739static void disable_m32700ut_irq(unsigned int irq)3840{
+3-1
arch/m32r/kernel/setup_opsput.c
···3131typedef struct {3232 unsigned long icucr; /* ICU Control Register */3333} icu_data_t;3434+static icu_data_t icu_data[OPSPUT_NUM_CPU_IRQ];3535+#else3636+icu_data_t icu_data[OPSPUT_NUM_CPU_IRQ];3437#endif /* CONFIG_SMP */35383636-static icu_data_t icu_data[OPSPUT_NUM_CPU_IRQ];37393840static void disable_opsput_irq(unsigned int irq)3941{
+1
arch/m32r/kernel/smpboot.c
···91919292/* which physical physical ID maps to which logical CPU number */9393static volatile int physid_2_cpu[NR_CPUS];9494+#define physid_to_cpu(physid) physid_2_cpu[physid]94959596/* which logical CPU number maps to which physical ID */9697volatile int cpu_2_physid[NR_CPUS];
···911911 default y if PPC_PREP912912913913config SMP914914+ depends on PPC_STD_MMU914915 bool "Symmetric multi-processing support"915916 ---help---916917 This enables support for systems with more than one CPU. If you have···931930932931config IRQ_ALL_CPUS933932 bool "Distribute interrupts on all CPUs by default"934934- depends on SMP933933+ depends on SMP && !MV64360935934 help936935 This option gives the kernel permission to distribute IRQs across937936 multiple CPUs. Saying N here will route all IRQs to the first···1122112111231122source "drivers/zorro/Kconfig"1124112311241124+if !44x || BROKEN11251125source kernel/power/Kconfig11261126+endif1126112711271128config SECCOMP11281129 bool "Enable seccomp to safely compute untrusted bytecode"
+10-4
arch/ppc/platforms/4xx/Kconfig
···33 depends on 40x || 44x44 default y5566+config WANT_EARLY_SERIAL77+ bool88+ select SERIAL_825099+ default n1010+611menu "IBM 4xx options"712 depends on 4xx813···23182419config BUBINGA2520 bool "Bubinga"2121+ select WANT_EARLY_SERIAL2622 help2723 This option enables support for the IBM 405EP evaluation board.2824···76707771config BAMBOO7872 bool "Bamboo"7373+ select WANT_EARLY_SERIAL7974 help8075 This option enables support for the IBM PPC440EP evaluation board.81768277config EBONY8378 bool "Ebony"7979+ select WANT_EARLY_SERIAL8480 help8581 This option enables support for the IBM PPC440GP evaluation board.86828783config LUAN8884 bool "Luan"8585+ select WANT_EARLY_SERIAL8986 help9087 This option enables support for the IBM PPC440SP evaluation board.91889289config OCOTEA9390 bool "Ocotea"9191+ select WANT_EARLY_SERIAL9492 help9593 This option enables support for the IBM PPC440GX evaluation board.9694···239229 bool240230 depends on 4xx241231 default y242242-243243-config PM244244- bool "Power Management support (EXPERIMENTAL)"245245- depends on 4xx && EXPERIMENTAL246232247233choice248234 prompt "TTYS0 device and default console"
···492492 */493493 set_cpu_sibling_map(smp_processor_id());494494495495+ /* 496496+ * Wait for TSC sync to not schedule things before.497497+ * We still process interrupts, which could see an inconsistent498498+ * time in that window unfortunately. 499499+ * Do this here because TSC sync has global unprotected state.500500+ */501501+ tsc_sync_wait();502502+495503 /*496504 * We need to hold call_lock, so there is no inconsistency497505 * between the time smp_call_function() determines number of···516508 cpu_set(smp_processor_id(), cpu_online_map);517509 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;518510 unlock_ipi_call_lock();519519-520520- mb();521521-522522- /* Wait for TSC sync to not schedule things before.523523- We still process interrupts, which could see an inconsistent524524- time in that window unfortunately. */525525- tsc_sync_wait();526511527512 cpu_idle();528513}
+1-3
arch/x86_64/mm/fault.c
···211211{212212 if (tsk->pid == 1)213213 return 1;214214- /* Warn for strace, but not for gdb */215215- if (!test_ti_thread_flag(tsk->thread_info, TIF_SYSCALL_TRACE) &&216216- (tsk->ptrace & PT_PTRACED))214214+ if (tsk->ptrace & PT_PTRACED)217215 return 0;218216 return (tsk->sighand->action[sig-1].sa.sa_handler == SIG_IGN) ||219217 (tsk->sighand->action[sig-1].sa.sa_handler == SIG_DFL);
+11-2
arch/x86_64/pci/k8-bus.c
···4747 * if there are no busses hanging off of the current4848 * ldt link then both the secondary and subordinate4949 * bus number fields are set to 0.5050+ * 5151+ * RED-PEN5252+ * This is slightly broken because it assumes5353+ * HT node IDs == Linux node ids, which is not always5454+ * true. However it is probably mostly true.5055 */5156 if (!(SECONDARY_LDT_BUS_NUMBER(ldtbus) == 05257 && SUBORDINATE_LDT_BUS_NUMBER(ldtbus) == 0)) {5358 for (j = SECONDARY_LDT_BUS_NUMBER(ldtbus);5459 j <= SUBORDINATE_LDT_BUS_NUMBER(ldtbus);5555- j++)5656- pci_bus_to_node[j] = NODE_ID(nid);6060+ j++) { 6161+ int node = NODE_ID(nid);6262+ if (!node_online(node))6363+ node = 0;6464+ pci_bus_to_node[j] = node;6565+ } 5766 }5867 }5968 }
+4-4
drivers/char/Kconfig
···80808181config COMPUTONE8282 tristate "Computone IntelliPort Plus serial support"8383- depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP8383+ depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && (BROKEN || !SPARC32)8484 ---help---8585 This driver supports the entire family of Intelliport II/Plus8686 controllers with the exception of the MicroChannel controllers and···138138139139config DIGIEPCA140140 tristate "Digiboard Intelligent Async Support"141141- depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP141141+ depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && (!64BIT || BROKEN)142142 ---help---143143 This is a driver for Digi International's Xx, Xeve, and Xem series144144 of cards which provide multiple serial ports. You would need···208208209209config SYNCLINKMP210210 tristate "SyncLink Multiport support"211211- depends on SERIAL_NONSTANDARD211211+ depends on SERIAL_NONSTANDARD && (BROKEN || !SPARC32)212212 help213213 Enable support for the SyncLink Multiport (2 or 4 ports)214214 serial adapter, running asynchronous and HDLC communications up···735735736736config GEN_RTC737737 tristate "Generic /dev/rtc emulation"738738- depends on RTC!=y && !IA64 && !ARM && !PPC64738738+ depends on RTC!=y && !IA64 && !ARM && !PPC64 && !M32R && !SPARC32739739 ---help---740740 If you say Y here and create a character special file /dev/rtc with741741 major number 10 and minor number 135 using mknod ("man mknod"), you
+1
drivers/infiniband/Kconfig
···11menu "InfiniBand support"2233config INFINIBAND44+ depends on PCI || BROKEN45 tristate "InfiniBand support"56 ---help---67 Core support for InfiniBand (IB). Make sure to also select
+1
drivers/isdn/hisax/Kconfig
···134134135135config HISAX_FRITZPCI136136 bool "AVM PnP/PCI (Fritz!PnP/PCI)"137137+ depends on BROKEN || !PPC64137138 help138139 This enables HiSax support for the AVM "Fritz!PnP" and "Fritz!PCI".139140 See <file:Documentation/isdn/README.HiSax> on how to configure it.
+1-1
drivers/macintosh/Kconfig
···103103# on non-powerbook machines (but only on PMU based ones AFAIK)104104config PMAC_BACKLIGHT105105 bool "Backlight control for LCD screens"106106- depends on ADB_PMU106106+ depends on ADB_PMU && (BROKEN || !PPC64)107107 help108108 Say Y here to build in code to manage the LCD backlight on a109109 Macintosh PowerBook. With this code, the backlight will be turned
+3-4
drivers/md/md.c
···256256{257257 up(&mddev->reconfig_sem);258258259259- if (mddev->thread)260260- md_wakeup_thread(mddev->thread);259259+ md_wakeup_thread(mddev->thread);261260}262261263262mdk_rdev_t * find_rdev_nr(mddev_t *mddev, int nr)···17131714 mddev->in_sync = 1;1714171517151716 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);17171717+ md_wakeup_thread(mddev->thread);1716171817171719 if (mddev->sb_dirty)17181720 md_update_sb(mddev);···22362236 export_rdev(rdev);2237223722382238 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);22392239- if (mddev->thread)22402240- md_wakeup_thread(mddev->thread);22392239+ md_wakeup_thread(mddev->thread);22412240 return err;22422241 }22432242
+1-1
drivers/media/video/Kconfig
···356356357357config VIDEO_M32R_AR_M64278358358 tristate "Use Colour AR module M64278(VGA)"359359- depends on VIDEO_M32R_AR359359+ depends on VIDEO_M32R_AR && PLAT_M32700UT360360 ---help---361361 Say Y here to use the Renesas M64278E-800 camera module,362362 which supports VGA(640x480 pixcels) size of images.
···66666767#define DRV_MODULE_NAME "tg3"6868#define PFX DRV_MODULE_NAME ": "6969-#define DRV_MODULE_VERSION "3.35"7070-#define DRV_MODULE_RELDATE "August 6, 2005"6969+#define DRV_MODULE_VERSION "3.36"7070+#define DRV_MODULE_RELDATE "August 19, 2005"71717272#define TG3_DEF_MAC_MODE 07373#define TG3_DEF_RX_MODE 0···89708970 tp->phy_id = hw_phy_id;89718971 if (hw_phy_id_masked == PHY_ID_BCM8002)89728972 tp->tg3_flags2 |= TG3_FLG2_PHY_SERDES;89738973+ else89748974+ tp->tg3_flags2 &= ~TG3_FLG2_PHY_SERDES;89738975 } else {89748976 if (tp->phy_id != PHY_ID_INVALID) {89758977 /* Do nothing, phy ID already set up in
+1-1
drivers/net/tokenring/Kconfig
···84848585config TMS380TR8686 tristate "Generic TMS380 Token Ring ISA/PCI adapter support"8787- depends on TR && (PCI || ISA || MCA)8787+ depends on TR && (PCI || ISA && ISA_DMA_API || MCA)8888 select FW_LOADER8989 ---help---9090 This driver provides generic support for token ring adapters
+1-1
drivers/net/wireless/Kconfig
···270270271271config AIRO_CS272272 tristate "Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards"273273- depends on NET_RADIO && PCMCIA273273+ depends on NET_RADIO && PCMCIA && (BROKEN || !M32R)274274 ---help---275275 This is the standard Linux driver to support Cisco/Aironet PCMCIA276276 802.11 wireless cards. This driver is the same as the Aironet
+1-1
drivers/parport/Kconfig
···34343535config PARPORT_PC3636 tristate "PC-style hardware"3737- depends on PARPORT && (!SPARC64 || PCI) && !SPARC323737+ depends on PARPORT && (!SPARC64 || PCI) && !SPARC32 && !M32R3838 ---help---3939 You should say Y here if you have a PC-style parallel port. All4040 IBM PC compatible computers and some Alphas have PC-style
+1
drivers/pcmcia/pcmcia_resource.c
···414142424343#ifdef CONFIG_PCMCIA_PROBE4444+#include <asm/irq.h>4445/* mask of IRQs already reserved by other cards, we should avoid using them */4546static u8 pcmcia_used_irq[NR_IRQS];4647#endif
+1-1
drivers/s390/cio/qdio.c
···230230}231231232232/* locked by the locks in qdio_activate and qdio_cleanup */233233-static __u32 * volatile 233233+static __u32 volatile *234234qdio_get_indicator(void)235235{236236 int i;
-9
drivers/s390/crypto/z90crypt.h
···3636#define z90crypt_VARIANT 2 // 2 = added PCIXCC MCL3 and CEX2C support37373838/**3939- * If we are not using the sparse checker, __user has no use.4040- */4141-#ifdef __CHECKER__4242-# define __user __attribute__((noderef, address_space(1)))4343-#else4444-# define __user4545-#endif4646-4747-/**4839 * struct ica_rsa_modexpo4940 *5041 * Requirements:
+3-3
drivers/scsi/Kconfig
···1696169616971697config MAC_SCSI16981698 bool "Macintosh NCR5380 SCSI"16991699- depends on MAC && SCSI16991699+ depends on MAC && SCSI=y17001700 help17011701 This is the NCR 5380 SCSI controller included on most of the 6803017021702 based Macintoshes. If you have one of these say Y and read the···1717171717181718config MVME147_SCSI17191719 bool "WD33C93 SCSI driver for MVME147"17201720- depends on MVME147 && SCSI17201720+ depends on MVME147 && SCSI=y17211721 help17221722 Support for the on-board SCSI controller on the Motorola MVME14717231723 single-board computer.···1758175817591759config SUN3X_ESP17601760 bool "Sun3x ESP SCSI"17611761- depends on SUN3X && SCSI17611761+ depends on SUN3X && SCSI=y17621762 help17631763 The ESP was an on-board SCSI controller used on Sun 3/8017641764 machines. Say Y here to compile in support for it.
+1
drivers/scsi/ahci.c
···11051105MODULE_DESCRIPTION("AHCI SATA low-level driver");11061106MODULE_LICENSE("GPL");11071107MODULE_DEVICE_TABLE(pci, ahci_pci_tbl);11081108+MODULE_VERSION(DRV_VERSION);1108110911091110module_init(ahci_init);11101111module_exit(ahci_exit);
+1-1
drivers/scsi/arm/Kconfig
···33#44config SCSI_ACORNSCSI_355 tristate "Acorn SCSI card (aka30) support"66- depends on ARCH_ACORN && SCSI66+ depends on ARCH_ACORN && SCSI && BROKEN77 help88 This enables support for the Acorn SCSI card (aka30). If you have an99 Acorn system with one of these, say Y. If unsure, say N.
···22682268 * spin_lock_irqsave(host_set lock)22692269 */2270227022712271-22722272-22732273-/**22742274- * ata_sg_init_one - Prepare a one-entry scatter-gather list.22752275- * @qc: Queued command22762276- * @buf: transfer buffer22772277- * @buflen: length of buf22782278- *22792279- * Builds a single-entry scatter-gather list to initiate a22802280- * transfer utilizing the specified buffer.22812281- *22822282- * LOCKING:22832283- */22842271void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf, unsigned int buflen)22852272{22862273 struct scatterlist *sg;···22972310 *22982311 * LOCKING:22992312 * spin_lock_irqsave(host_set lock)23002300- */23012301-23022302-23032303-/**23042304- * ata_sg_init - Assign a scatter gather list to a queued command23052305- * @qc: Queued command23062306- * @sg: Scatter-gather list23072307- * @n_elem: length of sg list23082308- *23092309- * Attaches a scatter-gather list to a queued command.23102310- *23112311- * LOCKING:23122313 */2313231423142315void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
+1-1
drivers/scsi/libata.h
···2626#define __LIBATA_H__27272828#define DRV_NAME "libata"2929-#define DRV_VERSION "1.11" /* must be exactly four chars */2929+#define DRV_VERSION "1.12" /* must be exactly four chars */30303131struct ata_scsi_args {3232 u16 *id;
···211211212212config SERIAL_AMBA_PL010213213 tristate "ARM AMBA PL010 serial port support"214214- depends on ARM_AMBA214214+ depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)215215 select SERIAL_CORE216216 help217217 This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have···819819820820config SERIAL_M32R_PLDSIO821821 bool "M32R SIO I/F on a PLD"822822- depends on SERIAL_M32R_SIO=y822822+ depends on SERIAL_M32R_SIO=y && (PLAT_OPSPUT || PALT_USRV || PLAT_M32700UT)823823 default n824824 help825825 Say Y here if you want to use the M32R serial controller
···1922192219231923 // copy the packet data to the new skb19241924 memcpy(skb_put(gl_skb, size), packet->packet_data, size);19251925- skb_return (dev, skb);19251925+ skb_return (dev, gl_skb);19261926 }1927192719281928 // advance to the next packet
+1-2
drivers/usb/net/zd1201.c
···346346 if (datalen<14)347347 goto resubmit;348348 if ((seq & IEEE802_11_SCTL_FRAG) == 0) {349349- frag = kmalloc(sizeof(struct zd1201_frag*),350350- GFP_ATOMIC);349349+ frag = kmalloc(sizeof(*frag), GFP_ATOMIC);351350 if (!frag)352351 goto resubmit;353352 skb = dev_alloc_skb(IEEE802_11_DATA_LEN +14+2);
+1-1
drivers/video/console/Kconfig
···6677config VGA_CONSOLE88 bool "VGA text console" if EMBEDDED || !X8699- depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC32 && !SPARC64 && !M68K && !PARISC99+ depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC32 && !SPARC64 && !M68K && !PARISC && !ARCH_VERSATILE1010 default y1111 help1212 Saying Y here will allow you to use Linux in text mode through a
+4-4
fs/afs/mntpt.c
···3030 struct dentry *dentry,3131 struct nameidata *nd);3232static int afs_mntpt_open(struct inode *inode, struct file *file);3333-static int afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd);3333+static void *afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd);34343535struct file_operations afs_mntpt_file_operations = {3636 .open = afs_mntpt_open,···233233/*234234 * follow a link from a mountpoint directory, thus causing it to be mounted235235 */236236-static int afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd)236236+static void *afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd)237237{238238 struct vfsmount *newmnt;239239 struct dentry *old_dentry;···249249 newmnt = afs_mntpt_do_automount(dentry);250250 if (IS_ERR(newmnt)) {251251 path_release(nd);252252- return PTR_ERR(newmnt);252252+ return (void *)newmnt;253253 }254254255255 old_dentry = nd->dentry;···267267 }268268269269 kleave(" = %d", err);270270- return err;270270+ return ERR_PTR(err);271271} /* end afs_mntpt_follow_link() */272272273273/*****************************************************************************/
···62626363 break;6464 case IOPRIO_CLASS_IDLE:6565+ if (!capable(CAP_SYS_ADMIN))6666+ return -EPERM;6567 break;6668 default:6769 return -EINVAL;
+9-7
fs/jffs2/symlink.c
···1818#include <linux/namei.h>1919#include "nodelist.h"20202121-static int jffs2_follow_link(struct dentry *dentry, struct nameidata *nd);2121+static void *jffs2_follow_link(struct dentry *dentry, struct nameidata *nd);22222323struct inode_operations jffs2_symlink_inode_operations =2424{ ···2727 .setattr = jffs2_setattr2828};29293030-static int jffs2_follow_link(struct dentry *dentry, struct nameidata *nd)3030+static void *jffs2_follow_link(struct dentry *dentry, struct nameidata *nd)3131{3232 struct jffs2_inode_info *f = JFFS2_INODE_INFO(dentry->d_inode);3333+ char *p = (char *)f->dents;33343435 /*3536 * We don't acquire the f->sem mutex here since the only data we···4645 * nd_set_link() call.4746 */48474949- if (!f->dents) {4848+ if (!p) {5049 printk(KERN_ERR "jffs2_follow_link(): can't find symlink taerget\n");5151- return -EIO;5050+ p = ERR_PTR(-EIO);5151+ } else {5252+ D1(printk(KERN_DEBUG "jffs2_follow_link(): target path is '%s'\n", (char *) f->dents));5253 }5353- D1(printk(KERN_DEBUG "jffs2_follow_link(): target path is '%s'\n", (char *) f->dents));54545555- nd_set_link(nd, (char *)f->dents);5555+ nd_set_link(nd, p);56565757 /*5858 * We unlock the f->sem mutex but VFS will use the f->dents string. This is safe5959 * since the only way that may cause f->dents to be changed is iput() operation.6060 * But VFS will not use f->dents after iput() has been called.6161 */6262- return 0;6262+ return NULL;6363}6464
···374374 * we need to be very careful about how much stack we use.375375 * uio is kmalloced for this reason...376376 */377377-STATIC int377377+STATIC void *378378linvfs_follow_link(379379 struct dentry *dentry,380380 struct nameidata *nd)···391391 link = (char *)kmalloc(MAXNAMELEN+1, GFP_KERNEL);392392 if (!link) {393393 nd_set_link(nd, ERR_PTR(-ENOMEM));394394- return 0;394394+ return NULL;395395 }396396397397 uio = (uio_t *)kmalloc(sizeof(uio_t), GFP_KERNEL);398398 if (!uio) {399399 kfree(link);400400 nd_set_link(nd, ERR_PTR(-ENOMEM));401401- return 0;401401+ return NULL;402402 }403403404404 vp = LINVFS_GET_VP(dentry->d_inode);···422422 kfree(uio);423423424424 nd_set_link(nd, link);425425- return 0;425425+ return NULL;426426}427427428428-static void linvfs_put_link(struct dentry *dentry, struct nameidata *nd)428428+static void linvfs_put_link(struct dentry *dentry, struct nameidata *nd, void *p)429429{430430 char *s = nd_get_link(nd);431431 if (!IS_ERR(s))
+13-16
include/asm-alpha/system.h
···443443 if something tries to do an invalid xchg(). */444444extern void __xchg_called_with_bad_pointer(void);445445446446-static inline unsigned long447447-__xchg(volatile void *ptr, unsigned long x, int size)448448-{449449- switch (size) {450450- case 1:451451- return __xchg_u8(ptr, x);452452- case 2:453453- return __xchg_u16(ptr, x);454454- case 4:455455- return __xchg_u32(ptr, x);456456- case 8:457457- return __xchg_u64(ptr, x);458458- }459459- __xchg_called_with_bad_pointer();460460- return x;461461-}446446+#define __xchg(ptr, x, size) \447447+({ \448448+ unsigned long __xchg__res; \449449+ volatile void *__xchg__ptr = (ptr); \450450+ switch (size) { \451451+ case 1: __xchg__res = __xchg_u8(__xchg__ptr, x); break; \452452+ case 2: __xchg__res = __xchg_u16(__xchg__ptr, x); break; \453453+ case 4: __xchg__res = __xchg_u32(__xchg__ptr, x); break; \454454+ case 8: __xchg__res = __xchg_u64(__xchg__ptr, x); break; \455455+ default: __xchg_called_with_bad_pointer(); __xchg__res = x; \456456+ } \457457+ __xchg__res; \458458+})462459463460#define xchg(ptr,x) \464461 ({ \
+4-2
include/asm-arm/arch-ixp4xx/timex.h
···7788/*99 * We use IXP425 General purpose timer for our timer needs, it runs at 1010- * 66.66... MHz1010+ * 66.66... MHz. We do a convulted calculation of CLOCK_TICK_RATE b/c the1111+ * timer register ignores the bottom 2 bits of the LATCH value.1112 */1212-#define CLOCK_TICK_RATE (66666666)1313+#define FREQ 666666661414+#define CLOCK_TICK_RATE (((FREQ / HZ & ~IXP4XX_OST_RELOAD_MASK) + 1) * HZ)1315
+1-1
include/asm-arm/bug.h
···5566#ifdef CONFIG_BUG77#ifdef CONFIG_DEBUG_BUGVERBOSE88-extern volatile void __bug(const char *file, int line, void *data);88+extern void __bug(const char *file, int line, void *data) __attribute__((noreturn));991010/* give file/line information */1111#define BUG() __bug(__FILE__, __LINE__, NULL)
+1-1
include/asm-arm/cpu-multi32.h
···3131 /*3232 * Special stuff for a reset3333 */3434- volatile void (*reset)(unsigned long addr);3434+ void (*reset)(unsigned long addr) __attribute__((noreturn));3535 /*3636 * Idle the processor3737 */
+1-1
include/asm-arm/cpu-single.h
···4141extern void cpu_dcache_clean_area(void *, int);4242extern void cpu_do_switch_mm(unsigned long pgd_phys, struct mm_struct *mm);4343extern void cpu_set_pte(pte_t *ptep, pte_t pte);4444-extern volatile void cpu_reset(unsigned long addr);4444+extern void cpu_reset(unsigned long addr) __attribute__((noreturn));
-8
include/asm-ia64/io.h
···120120 ia64_mfa();121121}122122123123-static inline const unsigned long124124-__ia64_get_io_port_base (void)125125-{126126- extern unsigned long ia64_iobase;127127-128128- return ia64_iobase;129129-}130130-131123static inline void*132124__ia64_mk_io_addr (unsigned long port)133125{
-2
include/asm-m32r/smp.h
···6161 * Some lowlevel functions might want to know about6262 * the real CPU ID <-> CPU # mapping.6363 */6464-extern volatile int physid_2_cpu[NR_CPUS];6564extern volatile int cpu_2_physid[NR_CPUS];6666-#define physid_to_cpu(physid) physid_2_cpu[physid]6765#define cpu_to_physid(cpu_id) cpu_2_physid[cpu_id]68666967#define raw_smp_processor_id() (current_thread_info()->cpu)
+1-1
include/asm-ppc/time.h
···5858/* Accessor functions for the timebase (RTC on 601) registers. */5959/* If one day CONFIG_POWER is added just define __USE_RTC as 1 */6060#ifdef CONFIG_6xx6161-extern __inline__ int const __USE_RTC(void) {6161+extern __inline__ int __attribute_pure__ __USE_RTC(void) {6262 return (mfspr(SPRN_PVR)>>16) == 1;6363}6464#else
···360360361361/* isadma.c */362362363363+#ifdef CONFIG_ISA_DMA_API363364#define DMA_MODE_NO_ENABLE 0x0100364365365366void snd_dma_program(unsigned long dma, unsigned long addr, unsigned int size, unsigned short mode);366367void snd_dma_disable(unsigned long dma);367368unsigned int snd_dma_pointer(unsigned long dma, unsigned int size);369369+#endif368370369371/* misc.c */370372
+17
kernel/cpuset.c
···636636 return;637637638638 /*639639+ * Hack to avoid 2.6.13 partial node dynamic sched domain bug.640640+ * Require the 'cpu_exclusive' cpuset to include all (or none)641641+ * of the CPUs on each node, or return w/o changing sched domains.642642+ * Remove this hack when dynamic sched domains fixed.643643+ */644644+ {645645+ int i, j;646646+647647+ for_each_cpu_mask(i, cur->cpus_allowed) {648648+ for_each_cpu_mask(j, node_to_cpumask(cpu_to_node(i))) {649649+ if (!cpu_isset(j, cur->cpus_allowed))650650+ return;651651+ }652652+ }653653+ }654654+655655+ /*639656 * Get all cpus from parent's cpus_allowed not part of exclusive640657 * children641658 */
···6161 if (!skb_ip_make_writable(pskb, (*pskb)->len))6262 return NF_DROP;63636464+ if ((*pskb)->ip_summed == CHECKSUM_HW &&6565+ skb_checksum_help(*pskb, out == NULL))6666+ return NF_DROP;6767+6468 iph = (*pskb)->nh.iph;6569 tcplen = (*pskb)->len - iph->ihl*4;6670···190186 newmss);191187192188 retmodified:193193- /* We never hw checksum SYN packets. */194194- BUG_ON((*pskb)->ip_summed == CHECKSUM_HW);195195-196189 (*pskb)->nfcache |= NFC_UNKNOWN | NFC_ALTERED;197190 return IPT_CONTINUE;198191}
+1-1
net/ipv4/tcp.c
···584584 sk_charge_skb(sk, skb);585585 if (!sk->sk_send_head)586586 sk->sk_send_head = skb;587587- else if (tp->nonagle&TCP_NAGLE_PUSH)587587+ if (tp->nonagle & TCP_NAGLE_PUSH)588588 tp->nonagle &= ~TCP_NAGLE_PUSH; 589589}590590
+7-2
net/ipv4/tcp_ipv4.c
···242242 tcp_port_rover = rover;243243 spin_unlock(&tcp_portalloc_lock);244244245245- /* Exhausted local port range during search? */245245+ /* Exhausted local port range during search? It is not246246+ * possible for us to be holding one of the bind hash247247+ * locks if this test triggers, because if 'remaining'248248+ * drops to zero, we broke out of the do/while loop at249249+ * the top level, not from the 'break;' statement.250250+ */246251 ret = 1;247247- if (remaining <= 0)252252+ if (unlikely(remaining <= 0))248253 goto fail;249254250255 /* OK, here is the one we will use. HEAD is
-4
net/ipv4/tcp_output.c
···925925926926 limit = min(send_win, cong_win);927927928928- /* If sk_send_head can be sent fully now, just do it. */929929- if (skb->len <= limit)930930- return 0;931931-932928 if (sysctl_tcp_tso_win_divisor) {933929 u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache);934930
···158158 tcp_port_rover = rover;159159 spin_unlock(&tcp_portalloc_lock);160160161161- /* Exhausted local port range during search? */161161+ /* Exhausted local port range during search? It is not162162+ * possible for us to be holding one of the bind hash163163+ * locks if this test triggers, because if 'remaining'164164+ * drops to zero, we broke out of the do/while loop at165165+ * the top level, not from the 'break;' statement.166166+ */162167 ret = 1;163163- if (remaining <= 0)168168+ if (unlikely(remaining <= 0))164169 goto fail;165170166171 /* OK, here is the one we will use. */
···5757 SNMP_MIB_ITEM("SctpReasmUsrMsgs", SCTP_MIB_REASMUSRMSGS),5858 SNMP_MIB_ITEM("SctpOutSCTPPacks", SCTP_MIB_OUTSCTPPACKS),5959 SNMP_MIB_ITEM("SctpInSCTPPacks", SCTP_MIB_INSCTPPACKS),6060+ SNMP_MIB_SENTINEL6061};61626263/* Return the current value of a particular entry in the mib by adding its
···11# ALSA ISA drivers2233menu "ISA devices"44- depends on SND!=n && ISA44+ depends on SND!=n && ISA && ISA_DMA_API5566config SND_AD1848_LIB77 tristate
+8-8
sound/oss/Kconfig
···66# Prompt user for primary drivers.77config SOUND_BT87888 tristate "BT878 audio dma"99- depends on SOUND_PRIME99+ depends on SOUND_PRIME && PCI1010 ---help---1111 Audio DMA support for bt878 based grabber boards. As you might have1212 already noticed, bt878 is listed with two functions in /proc/pci.···80808181config MIDI_EMU10K18282 bool "Creative SBLive! MIDI (EXPERIMENTAL)"8383- depends on SOUND_EMU10K1 && EXPERIMENTAL8383+ depends on SOUND_EMU10K1 && EXPERIMENTAL && ISA_DMA_API8484 help8585 Say Y if you want to be able to use the OSS /dev/sequencer8686 interface. This code is still experimental.87878888config SOUND_FUSION8989 tristate "Crystal SoundFusion (CS4280/461x)"9090- depends on SOUND_PRIME9090+ depends on SOUND_PRIME && PCI9191 help9292 This module drives the Crystal SoundFusion devices (CS4280/46xx9393 series) when wired as native sound drivers with AC97 codecs. If···95959696config SOUND_CS42819797 tristate "Crystal Sound CS4281"9898- depends on SOUND_PRIME9898+ depends on SOUND_PRIME && PCI9999 help100100 Picture and feature list at101101 <http://www.pcbroker.com/crystal4281.html>.···179179180180config SOUND_SONICVIBES181181 tristate "S3 SonicVibes"182182- depends on SOUND_PRIME182182+ depends on SOUND_PRIME && PCI183183 help184184 Say Y or M if you have a PCI sound card utilizing the S3185185 SonicVibes chipset. To find out if your sound card uses a···226226227227config SOUND_TRIDENT228228 tristate "Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core"229229- depends on SOUND_PRIME229229+ depends on SOUND_PRIME && PCI230230 ---help---231231 Say Y or M if you have a PCI sound card utilizing the Trident232232 4DWave-DX/NX chipset or your mother board chipset has SiS 7018···503503504504config MIDI_VIA82CXXX505505 bool "VIA 82C686 MIDI"506506- depends on SOUND_VIA82CXXX506506+ depends on SOUND_VIA82CXXX && ISA_DMA_API507507 help508508 Answer Y to use the MIDI interface of the Via686. You may need to509509 enable this in the BIOS before it will work. This is for connection···512512513513config SOUND_OSS514514 tristate "OSS sound modules"515515- depends on SOUND_PRIME515515+ depends on SOUND_PRIME && ISA_DMA_API516516 help517517 OSS is the Open Sound System suite of sound card drivers. They make518518 sound programming easier since they provide a common API. Say Y or