Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318160
b: refs/heads/master
c: b6b5244
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 20, 2012
1 parent 692b376 commit 6f4bb84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c0b461e4c8fde467bd803e368d9a78ec2da5f8a
refs/heads/master: b6b5244e4f1ccf838cce8499732449f26c119b88
8 changes: 4 additions & 4 deletions trunk/drivers/staging/csr/csr_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
CsrTime CsrTimeGet(CsrTime *high)
{
struct timespec ts;
CsrUint64 time;
u64 time;
CsrTime low;

ts = current_kernel_time();
time = (CsrUint64) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
time = (u64) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;

if (high != NULL)
{
Expand All @@ -46,10 +46,10 @@ EXPORT_SYMBOL_GPL(CsrTimeGet);
void CsrTimeUtcGet(CsrTimeUtc *tod, CsrTime *low, CsrTime *high)
{
struct timespec ts;
CsrUint64 time;
u64 time;

ts = current_kernel_time();
time = (CsrUint64) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
time = (u64) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;

if (high != NULL)
{
Expand Down
13 changes: 0 additions & 13 deletions trunk/drivers/staging/csr/csr_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ extern "C" {
#undef TRUE
#define TRUE (1)

/*
* 64-bit integers
*
* Note: If a given compiler does not support 64-bit types, it is
* OK to omit these definitions; 32-bit versions of the code using
* these types may be available. Consult the relevant documentation
* or the customer support group for information on this.
*/
#define CSR_HAVE_64_BIT_INTEGERS
typedef uint64_t CsrUint64;
typedef int64_t CsrInt64;


#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 6f4bb84

Please sign in to comment.