search for: unsi

Displaying 20 results from an estimated 41 matches for "unsi".

Did you mean: unsig
2008 Aug 06
3
[PATCH RFC] do_settime is backwards?!
...this ever work? Signed-off-by: Rik van Riel <riel@redhat.com> --- diff -up xen/arch/x86/time.c.backwards xen/arch/x86/time.c --- xen/arch/x86/time.c.backwards 2008-08-06 17:33:26.000000000 -0400 +++ xen/arch/x86/time.c 2008-08-06 17:33:45.000000000 -0400 @@ -823,8 +823,8 @@ void do_settime(unsigned long secs, unsi y = do_div(x, 1000000000); spin_lock(&wc_lock); - wc_sec = _wc_sec = (u32)x; - wc_nsec = _wc_nsec = (u32)y; + wc_sec = _wc_sec = (u32)y; + wc_nsec = _wc_nsec = (u32)x; spin_unlock(&wc_lock); rcu_read_lock(&domlist_read_lock);...
2012 Aug 29
0
[PATCH V2] x86/i8259: Handle bogus spurious interrupts more quietly
...59A_irq() rather than basically duplicating it diff -r 1126b3079bef -r 3cacac4d8a4d xen/arch/x86/i8259.c --- a/xen/arch/x86/i8259.c +++ b/xen/arch/x86/i8259.c @@ -85,10 +85,12 @@ BUILD_16_IRQS(0xc) BUILD_16_IRQS(0xd) BU static DEFINE_SPINLOCK(i8259A_lock); -static void _mask_and_ack_8259A_irq(unsigned int irq); +static bool_t _mask_and_ack_8259A_irq(unsigned int irq); -void (*__read_mostly bogus_8259A_irq)(unsigned int irq) = - _mask_and_ack_8259A_irq; +bool_t bogus_8259A_irq(unsigned int irq) +{ + return _mask_and_ack_8259A_irq(irq); +} static void mask_and_ack_8259A_irq(struct i...
2006 Aug 23
3
bcmxcp: stop whining (and log spamming)
...n when only using one port (and I don't give a shit about the other ports, if anybody has a one-port laying around...) so stop whining already. $OpenBSD$ --- drivers/bcmxcp_ser.c.orig Wed Aug 23 11:15:54 2006 +++ drivers/bcmxcp_ser.c Wed Aug 23 11:26:37 2006 @@ -168,8 +168,8 @@ int get_answer(unsigned char *data, unsi /* now we have the whole answer from the ups, we can checksum it */ if (!checksum_test(my_buf)) { - ser_comm_fail("checksum error! "); - return -1; + upsdebugx(2, "checksum error!"); + return -1; } memcpy(data+end_length, my_buf+4, len...
2007 Apr 18
4
[Bridge] [PATCH/RFC] Let {ip, arp}tables "see" bridged VLAN tagged {I, AR}P packets
...Sun Oct 5 21:56:15 2003 @@ -54,6 +54,12 @@ struct vlan_hdr { #define VLAN_VID_MASK 0xfff +#ifdef CONFIG_BRIDGE_NETFILTER +extern int (*vlan_dev_hard_start_xmit_p)(struct sk_buff *skb, + struct net_device *dev); +#endif + + /* found in socket.c */ extern void vlan_ioctl_set(int (*hook)(unsigned long)); --- linux-2.6.0-test6/net/netsyms.c Sun Sep 28 02:50:17 2003 +++ linux-2.6.0-test6-new/net/netsyms.c Sun Oct 5 21:56:15 2003 @@ -236,6 +236,11 @@ EXPORT_SYMBOL(scm_detach_fds); #if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE) EXPORT_SYMBOL(br_handle_frame_hook); +#if d...
2020 Nov 03
0
[patch V3 20/37] io-mapping: Cleanup atomic iomap
...+---- include/linux/io-mapping.h | 8 ++++++-- 3 files changed, 9 insertions(+), 14 deletions(-) --- a/arch/x86/include/asm/iomap.h +++ b/arch/x86/include/asm/iomap.h @@ -13,14 +13,7 @@ #include <asm/cacheflush.h> #include <asm/tlbflush.h> -void __iomem *iomap_atomic_pfn_prot(unsigned long pfn, pgprot_t prot); - -static inline void iounmap_atomic(void __iomem *vaddr) -{ - kunmap_local_indexed((void __force *)vaddr); - pagefault_enable(); - preempt_enable(); -} +void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot); int iomap_create_wc(resource_size_t base...
2023 Jan 26
0
[PATCH v2 3/9] tracing: Warn about !rcu_is_watching()
...igned-off-by: Peter Zijlstra (Intel) <peterz at infradead.org> --- include/linux/trace_recursion.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) --- a/include/linux/trace_recursion.h +++ b/include/linux/trace_recursion.h @@ -135,6 +135,21 @@ extern void ftrace_record_recursion(unsi # define do_ftrace_record_recursion(ip, pip) do { } while (0) #endif +#ifdef CONFIG_ARCH_WANTS_NO_INSTR +# define trace_warn_on_no_rcu(ip) \ + ({ \ + bool __ret = !rcu_is_watching(); \ + if (__ret && !trace_recursion_test(TRACE_RECORD_RECURSION_BIT)) { \ + trace_recursi...
2007 Apr 18
0
[PATCH 5/10] Paravirt kmap_atomic_pte tidy.patch
...d bugs. Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r 5c03805411a6 arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Fri Apr 06 14:43:30 2007 -0700 +++ b/arch/i386/kernel/paravirt.c Fri Apr 06 14:43:37 2007 -0700 @@ -217,13 +217,6 @@ static void native_flush_tlb_single(unsi { __native_flush_tlb_single(addr); } - -#ifndef CONFIG_HIGHPTE -static void *native_kmap_atomic_pte(struct page *page, enum km_type type) -{ - return kmap_atomic(page, type); -} -#endif /* These are in entry.S */ extern void native_iret(void); @@ -324,7 +317,9 @@ struct paravirt_ops paravir...
2007 Apr 18
0
[PATCH 5/10] Paravirt kmap_atomic_pte tidy.patch
...d bugs. Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r 5c03805411a6 arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Fri Apr 06 14:43:30 2007 -0700 +++ b/arch/i386/kernel/paravirt.c Fri Apr 06 14:43:37 2007 -0700 @@ -217,13 +217,6 @@ static void native_flush_tlb_single(unsi { __native_flush_tlb_single(addr); } - -#ifndef CONFIG_HIGHPTE -static void *native_kmap_atomic_pte(struct page *page, enum km_type type) -{ - return kmap_atomic(page, type); -} -#endif /* These are in entry.S */ extern void native_iret(void); @@ -324,7 +317,9 @@ struct paravirt_ops paravir...
2009 Mar 02
0
ioemu: make various functions in i386-dm/helper2.c static
...2 15:18:33.000000000 +1100 @@ -211,7 +211,7 @@ target_phys_addr_t cpu_get_phys_page_deb } //some functions to handle the io req packet -void sp_info(void) +static void sp_info(void) { ioreq_t *req; int i; @@ -281,7 +281,8 @@ static ioreq_t *cpu_get_ioreq(void) return NULL; } -unsigned long do_inp(CPUState *env, unsigned long addr, unsigned long size) +static unsigned long do_inp(CPUState *env, unsigned long addr, + unsigned long size) { switch(size) { case 1: @@ -296,8 +297,8 @@ unsigned long do_inp(CPUState *env, unsi } } -void...
2014 Apr 23
0
[PATCH 001/001] btrfs: Mechanism to modify the permission of a subvolume
...;root_item, root_flags); + up_write(&root->fs_info->subvol_sem); +out_drop_write: + mnt_drop_write_file(file); +out: + return ret; +} + static noinline int btrfs_ioctl_subvol_getflags(struct file *file, void __user *arg) { @@ -4509,6 +4571,8 @@ long btrfs_ioctl(struct file *file, unsi return btrfs_ioctl_snap_create(file, argp, 1); case BTRFS_IOC_SUBVOL_CREATE_V2: return btrfs_ioctl_snap_create_v2(file, argp, 1); + case BTRFS_IOC_SUBVOL_MODIFY: + return btrfs_ioctl_subvol_modify(file, argp); case BTRFS_IOC_SNAP_DESTROY: return btrfs_ioctl_snap_destroy(file, argp);...
2009 Jun 13
1
[PATCH 1/3] Add ioctl to set per file 'compress' flag
...(!trans); + + ret = btrfs_update_inode(trans, root, inode); + BUG_ON(ret); + + inode->i_ctime = CURRENT_TIME; + btrfs_end_transaction(trans, root); + + mnt_drop_write(file->f_path.mnt); + out_unlock: + mutex_unlock(&inode->i_mutex); + return 0; +} + long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) { @@ -1278,6 +1326,8 @@ long btrfs_ioctl(struct file *file, unsi case BTRFS_IOC_SYNC: btrfs_sync_fs(file->f_dentry->d_sb, 1); return 0; + case BTRFS_IOC_COMPRESS: + return btrfs_ioctl_inode_flag(file, BTRFS_INODE_NOCOMPRESS, 0); } return -ENOT...
2007 Apr 27
0
[PATCH] lguest simplification: don't pin guest trap handlers
...--- a/drivers/lguest/interrupts_and_traps.c +++ b/drivers/lguest/interrupts_and_traps.c @@ -138,31 +138,12 @@ static int direct_trap(const struct lgue return idt_type(trap->a, trap->b) == 0xF; } -static void pin_stack_pages(struct lguest *lg) +void pin_stack_pages(struct lguest *lg) { unsigned int i; for (i = 0; i < lg->stack_pages; i++) pin_page(lg, lg->esp1 - i * PAGE_SIZE); -} - -/* We need to ensure all the direct trap pages are mapped after we - * clear shadow mappings. */ -void pin_trap_pages(struct lguest *lg) -{ - unsigned int i; - struct desc_struct *trap; -...
2007 Apr 27
0
[PATCH] lguest simplification: don't pin guest trap handlers
...--- a/drivers/lguest/interrupts_and_traps.c +++ b/drivers/lguest/interrupts_and_traps.c @@ -138,31 +138,12 @@ static int direct_trap(const struct lgue return idt_type(trap->a, trap->b) == 0xF; } -static void pin_stack_pages(struct lguest *lg) +void pin_stack_pages(struct lguest *lg) { unsigned int i; for (i = 0; i < lg->stack_pages; i++) pin_page(lg, lg->esp1 - i * PAGE_SIZE); -} - -/* We need to ensure all the direct trap pages are mapped after we - * clear shadow mappings. */ -void pin_trap_pages(struct lguest *lg) -{ - unsigned int i; - struct desc_struct *trap; -...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...ot;disable_noidle")) + disable_noidle = 1; return 0; } diff -r f62ebe3ba01c arch/i386/kernel/vmitime.c --- a/arch/i386/kernel/vmitime.c Tue Feb 27 14:01:28 2007 -0800 +++ b/arch/i386/kernel/vmitime.c Tue Feb 27 14:12:01 2007 -0800 @@ -276,15 +276,12 @@ static void vmi_account_real_cycles(unsi cycles_not_accounted = cur_real_cycles - real_cycles_accounted_system; while (cycles_not_accounted >= cycles_per_jiffy) { - /* systems wide jiffies and wallclock. */ + /* systems wide jiffies. */ do_timer(1); cycles_not_accounted -= cycles_per_jiffy; real_cycles_accounted_syst...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...ot;disable_noidle")) + disable_noidle = 1; return 0; } diff -r f62ebe3ba01c arch/i386/kernel/vmitime.c --- a/arch/i386/kernel/vmitime.c Tue Feb 27 14:01:28 2007 -0800 +++ b/arch/i386/kernel/vmitime.c Tue Feb 27 14:12:01 2007 -0800 @@ -276,15 +276,12 @@ static void vmi_account_real_cycles(unsi cycles_not_accounted = cur_real_cycles - real_cycles_accounted_system; while (cycles_not_accounted >= cycles_per_jiffy) { - /* systems wide jiffies and wallclock. */ + /* systems wide jiffies. */ do_timer(1); cycles_not_accounted -= cycles_per_jiffy; real_cycles_accounted_syst...
2007 Apr 18
4
paravirt repo rebased to 2.6.21-rc6-mm1
Seems to work OK for native and Xen. I had to play a bit with the paravirt-sched-clock patch to deal with the VMI changes. Zach, can you check that it still works? Thanks, J
2007 Apr 18
4
paravirt repo rebased to 2.6.21-rc6-mm1
Seems to work OK for native and Xen. I had to play a bit with the paravirt-sched-clock patch to deal with the VMI changes. Zach, can you check that it still works? Thanks, J
2004 Sep 10
3
0.9 problems
On Sat, May 19, 2001 at 12:55:08AM -0400, Matt Zimmerman wrote: > On Sat, May 19, 2001 at 02:05:14AM +0000, Christian Weisgerber wrote: > > > Problems in FLAC 0.9: > > > > - On alpha, flac immediately dumps core for both encoding and > > decoding (FreeBSD/alpha). > > I have reproduced this on Debian/alpha as well. I will spend some time > debugging it
2007 Aug 30
0
[PATCH][Retry 1] 1/4: cpufreq/PowerNow! in Xen: Xen timer changes
...723,6 +723,41 @@ void update_domain_wallclock_time(struct spin_unlock(&wc_lock); } +/* calculate new tsc_scale factor based on ratio of new and old frequency + * and update time stamps to restart the period for the next calibration + */ +void do_change_freq(struct vcpu_time_info *info, unsigned int old, unsigned int new, int cpu_num) +{ + u64 new_mult, curr_tsc; + s8 new_shift; + struct cpu_time *t; + + t = &this_cpu(cpu_time); + new_mult = info->tsc_to_system_mul; + do_div(new_mult, new / 1000); + new_mult *= (old / 1000); + new_shift = info->tsc_shi...
2007 Nov 02
0
[cpfreq][PATCH][2/2] Linux support for the architectural pstate driver
..._SHIFT); - - powernow_table[i].frequency = find_khz_freq_from_fiddid(fid, did); - - if (powernow_table[i].frequency != (data->acpi_data->states[i].core_frequency * 1000)) { - printk(KERN_INFO PFX "invalid freq entries %u kHz vs. %u kHz\n", - powernow_table[i].frequency, - (unsigned int) (data->acpi_data->states[i].core_frequency * 1000)); - powernow_table[i].frequency = CPUFREQ_ENTRY_INVALID; - continue; - } + powernow_table[i].index = index; + powernow_table[i].frequency = data->acpi_data->states[i].core_frequency * 1000; + } return 0; } @@ -1058,...