summaryrefslogtreecommitdiffstats
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/cpu.c1
-rw-r--r--src/arch/x86/exception.c5
-rw-r--r--src/arch/x86/include/arch/bert_storage.h1
-rw-r--r--src/arch/x86/include/arch/io.h1
-rw-r--r--src/arch/x86/include/arch/smp/atomic.h2
-rw-r--r--src/arch/x86/include/arch/smp/mpspec.h2
-rw-r--r--src/arch/x86/pirq_routing.c1
7 files changed, 0 insertions, 13 deletions
diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c
index 939a862e3cf6..d054cfe72c87 100644
--- a/src/arch/x86/cpu.c
+++ b/src/arch/x86/cpu.c
@@ -287,7 +287,6 @@ void cpu_initialize(unsigned int index)
printk(BIOS_DEBUG, "Using generic CPU ops (good)\n");
}
-
/* Initialize the CPU */
if (cpu->ops && cpu->ops->init) {
cpu->enabled = 1;
diff --git a/src/arch/x86/exception.c b/src/arch/x86/exception.c
index 958ebfc41c9e..f10c7bf8baf4 100644
--- a/src/arch/x86/exception.c
+++ b/src/arch/x86/exception.c
@@ -180,8 +180,6 @@ static uint32_t gdb_stub_registers[NUM_REGS];
#define GDB_EXC_SOFTWARE 149 /* Software generated exception */
#define GDB_EXC_BREAKPOINT 150 /* Breakpoint */
-
-
static unsigned char exception_to_signal[] = {
[0] = GDB_SIGFPE, /* divide by zero */
[1] = GDB_SIGTRAP, /* debug exception */
@@ -222,7 +220,6 @@ static const char hexchars[] = "0123456789abcdef";
static char in_buffer[BUFMAX];
static char out_buffer[BUFMAX];
-
static inline void stub_putc(int ch)
{
gdb_tx_byte(ch);
@@ -283,7 +280,6 @@ static void copy_to_hex(char *buf, void *addr, unsigned long count)
*buf = 0;
}
-
/* convert the hex array pointed to by buf into binary to be placed in mem */
/* return a pointer to the character AFTER the last byte written */
static void copy_from_hex(void *addr, char *buf, unsigned long count)
@@ -298,7 +294,6 @@ static void copy_from_hex(void *addr, char *buf, unsigned long count)
}
}
-
/* scan for the sequence $<data>#<checksum> */
static int get_packet(char *buffer)
diff --git a/src/arch/x86/include/arch/bert_storage.h b/src/arch/x86/include/arch/bert_storage.h
index c6a2f30408e5..060e1a43f22d 100644
--- a/src/arch/x86/include/arch/bert_storage.h
+++ b/src/arch/x86/include/arch/bert_storage.h
@@ -82,7 +82,6 @@ static inline acpi_hest_generic_data_v300_t *acpi_hest_generic_data3(
/* Find the address of a Generic Data structure's CPER error record section */
#define section_of_acpientry(A, B) ((typeof(A))((u8 *)(B) + sizeof(*(B))))
-
/* Add a context to an existing IA32/X64-type error entry */
cper_ia32x64_context_t *new_cper_ia32x64_ctx(
acpi_generic_error_status_t *status,
diff --git a/src/arch/x86/include/arch/io.h b/src/arch/x86/include/arch/io.h
index d01d5f6511e7..00fb277ec056 100644
--- a/src/arch/x86/include/arch/io.h
+++ b/src/arch/x86/include/arch/io.h
@@ -73,7 +73,6 @@ static inline void outsl(uint16_t port, const void *addr, unsigned long count)
);
}
-
static inline void insb(uint16_t port, void *addr, unsigned long count)
{
__asm__ __volatile__ (
diff --git a/src/arch/x86/include/arch/smp/atomic.h b/src/arch/x86/include/arch/smp/atomic.h
index 7626206e125b..4037e48a7fa7 100644
--- a/src/arch/x86/include/arch/smp/atomic.h
+++ b/src/arch/x86/include/arch/smp/atomic.h
@@ -67,6 +67,4 @@ static __always_inline void atomic_dec(atomic_t *v)
: "m" (v->counter));
}
-
-
#endif /* ARCH_SMP_ATOMIC_H */
diff --git a/src/arch/x86/include/arch/smp/mpspec.h b/src/arch/x86/include/arch/smp/mpspec.h
index d6378731ed33..25c23e68f575 100644
--- a/src/arch/x86/include/arch/smp/mpspec.h
+++ b/src/arch/x86/include/arch/smp/mpspec.h
@@ -23,7 +23,6 @@
*/
#define MAX_APICS 16
-
#define SMP_FLOATING_TABLE_LEN sizeof(struct intel_mp_floating)
struct intel_mp_floating {
@@ -130,7 +129,6 @@ enum mp_irq_source_types {
#define MP_IRQ_TRIGGER_LEVEL 0xc
#define MP_IRQ_TRIGGER_MASK 0xc
-
struct mpc_config_lintsrc {
u8 mpc_type;
u8 mpc_irqtype;
diff --git a/src/arch/x86/pirq_routing.c b/src/arch/x86/pirq_routing.c
index 71d47d5ccbc4..362650dea9ea 100644
--- a/src/arch/x86/pirq_routing.c
+++ b/src/arch/x86/pirq_routing.c
@@ -28,7 +28,6 @@ static void check_pirq_routing_table(struct irq_routing_table *rt)
printk(BIOS_DEBUG, "%s(): Interrupt Routing Table located at %p.\n",
__func__, addr);
-
sum = rt->checksum - sum;
if (sum != rt->checksum) {