Skip to content

Commit

Permalink
Added bits/wordsize.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
shikhin committed May 19, 2014
1 parent 705f1ec commit bc01dfd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions libc/include/bits/wordsize.h
@@ -0,0 +1,10 @@
#ifndef _WORDSIZE_H
#define _WORDSIZE_H

#ifdef __arm__
#define __WORDSIZE 32
#else
#error "Architecture not recognized."
#endif

#endif /* _WORDSIZE_H */
1 change: 0 additions & 1 deletion platform/bcm2835/mailbox.c
Expand Up @@ -43,7 +43,6 @@ uint32_t mailbox_read(uint8_t channel)
data_memory_barrier();
uint32_t data;
do {

timer_list_t timer;
timer_setup(&timer, MAILBOX_TIMEOUT, 0, mailbox_read_timeout, 0);

Expand Down

0 comments on commit bc01dfd

Please sign in to comment.