Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327364
b: refs/heads/master
c: 979e93c
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Sep 15, 2012
1 parent df94325 commit 07d7905
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 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: 71741680a9858a7fcba54acf5b321d185abef1e8
refs/heads/master: 979e93ca24e8336acb660529676dcda6817d8a1f
16 changes: 8 additions & 8 deletions trunk/arch/sparc/crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ obj-$(CONFIG_CRYPTO_DES_SPARC64) += camellia-sparc64.o

obj-$(CONFIG_CRYPTO_CRC32C_SPARC64) += crc32c-sparc64.o

sha1-sparc64-y := sha1_asm.o sha1_glue.o
sha256-sparc64-y := sha256_asm.o sha256_glue.o
sha512-sparc64-y := sha512_asm.o sha512_glue.o
md5-sparc64-y := md5_asm.o md5_glue.o
sha1-sparc64-y := sha1_asm.o sha1_glue.o crop_devid.o
sha256-sparc64-y := sha256_asm.o sha256_glue.o crop_devid.o
sha512-sparc64-y := sha512_asm.o sha512_glue.o crop_devid.o
md5-sparc64-y := md5_asm.o md5_glue.o crop_devid.o

aes-sparc64-y := aes_asm.o aes_glue.o
des-sparc64-y := des_asm.o des_glue.o
camellia-sparc64-y := camellia_asm.o camellia_glue.o
aes-sparc64-y := aes_asm.o aes_glue.o crop_devid.o
des-sparc64-y := des_asm.o des_glue.o crop_devid.o
camellia-sparc64-y := camellia_asm.o camellia_glue.o crop_devid.o

crc32c-sparc64-y := crc32c_asm.o crc32c_glue.o
crc32c-sparc64-y := crc32c_asm.o crc32c_glue.o crop_devid.o
14 changes: 14 additions & 0 deletions trunk/arch/sparc/crypto/crop_devid.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include <linux/module.h>
#include <linux/of_device.h>

/* This is a dummy device table linked into all of the crypto
* opcode drivers. It serves to trigger the module autoloading
* mechanisms in userspace which scan the OF device tree and
* load any modules which have device table entries that
* match OF device nodes.
*/
static const struct of_device_id crypto_opcode_match[] = {
{ .name = "cpu", .compatible = "sun4v", },
{},
};
MODULE_DEVICE_TABLE(of, crypto_opcode_match);

0 comments on commit 07d7905

Please sign in to comment.