Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files127
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- native/
- sn/
- uv/
- Kbuild
- acenv.h
- acpi-ext.h
- acpi.h
- agp.h
- asm-offsets.h
- asm-prototypes.h
- asmmacro.h
- atomic.h
- barrier.h
- bitops.h
- bug.h
- bugs.h
- cache.h
- cacheflush.h
- checksum.h
- clocksource.h
- cpu.h
- cputime.h
- current.h
- cyclone.h
- delay.h
- device.h
- div64.h
- dma-mapping.h
- dma.h
- dmi.h
- early_ioremap.h
- elf.h
- emergency-restart.h
- esi.h
- exception.h
- export.h
- extable.h
- fb.h
- fpswa.h
- ftrace.h
- futex.h
- gcc_intrin.h
- hardirq.h
- hpsim.h
- hugetlb.h
- hw_irq.h
- idle.h
- intrinsics.h
- io.h
- iommu.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/ia64/include/asm/timex.h
Text · 1,472 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_IA64_TIMEX_H
#define _ASM_IA64_TIMEX_H
/*
* Copyright (C) 1998-2001, 2003 Hewlett-Packard Co
* David Mosberger-Tang <[email protected]>
*/
/*
* 2001/01/18 davidm Removed CLOCK_TICK_RATE. It makes no sense on IA-64.
* Also removed cacheflush_time as it's entirely unused.
*/
#include <asm/intrinsics.h>
#include <asm/processor.h>
typedef unsigned long cycles_t;
extern void (*ia64_udelay)(unsigned long usecs);
/*
* For performance reasons, we don't want to define CLOCK_TICK_TRATE as
* local_cpu_data->itc_rate. Fortunately, we don't have to, either: according to George
* Anzinger, 1/CLOCK_TICK_RATE is taken as the resolution of the timer clock. The time
* calculation assumes that you will use enough of these so that your tick size <= 1/HZ.
* If the calculation shows that your CLOCK_TICK_RATE can not supply exactly 1/HZ ticks,
* the actual value is calculated and used to update the wall clock each jiffie. Setting
* the CLOCK_TICK_RATE to x*HZ insures that the calculation will find no errors. Hence we
* pick a multiple of HZ which gives us a (totally virtual) CLOCK_TICK_RATE of about
* 100MHz.
*/
#define CLOCK_TICK_RATE (HZ * 100000UL)
static inline cycles_t
get_cycles (void)
{
cycles_t ret;
ret = ia64_getreg(_IA64_REG_AR_ITC);
return ret;
}
extern void ia64_cpu_local_tick (void);
extern unsigned long long ia64_native_sched_clock (void);
#endif /* _ASM_IA64_TIMEX_H */