summaryrefslogtreecommitdiff
path: root/arch/avr32/kernel/head.S
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /arch/avr32/kernel/head.S
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'arch/avr32/kernel/head.S')
-rw-r--r--arch/avr32/kernel/head.S22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/avr32/kernel/head.S b/arch/avr32/kernel/head.S
new file mode 100644
index 00000000..59eae6df
--- /dev/null
+++ b/arch/avr32/kernel/head.S
@@ -0,0 +1,22 @@
+/*
+ * Non-board-specific low-level startup code
+ *
+ * Copyright (C) 2004-2006 Atmel Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/linkage.h>
+
+#include <asm/page.h>
+
+ .section .init.text,"ax"
+ .global kernel_entry
+kernel_entry:
+ /* Start the show */
+ lddpc pc, kernel_start_addr
+
+ .align 2
+kernel_start_addr:
+ .long start_kernel